Skip to content

Commit

Permalink
Merge pull request #39 from ejoerns/v0/topic/gerror-prefix-strings
Browse files Browse the repository at this point in the history
fix some GError propagation prefix strings
  • Loading branch information
jluebbe committed Apr 21, 2016
2 parents a3eff31 + d7dd05b commit 8dfa852
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions src/bundle.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ static gboolean mksquashfs(const gchar *bundlename, const gchar *contentdir, GEr
g_propagate_prefixed_error(
error,
ierror,
"failed to start mksquashfs");
"Failed to start mksquashfs: ");
goto out;
}

Expand All @@ -40,7 +40,7 @@ static gboolean mksquashfs(const gchar *bundlename, const gchar *contentdir, GEr
g_propagate_prefixed_error(
error,
ierror,
"failed to run mksquashfs");
"Failed to run mksquashfs: ");
goto out;
}

Expand Down Expand Up @@ -76,7 +76,7 @@ static gboolean unsquashfs(const gchar *bundlename, const gchar *contentdir, con
g_propagate_prefixed_error(
error,
ierror,
"failed to start unsquashfs");
"Failed to start unsquashfs: ");
goto out;
}

Expand All @@ -85,7 +85,7 @@ static gboolean unsquashfs(const gchar *bundlename, const gchar *contentdir, con
g_propagate_prefixed_error(
error,
ierror,
"failed to run unsquashfs");
"Failed to run unsquashfs: ");
goto out;
}

Expand Down
2 changes: 1 addition & 1 deletion src/install.c
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@ static gboolean launch_and_wait_default_handler(RaucInstallArgs *args, gchar* cw

if (!res) {
g_propagate_prefixed_error(error, ierror,
"Failed copying image: ");
"Failed updating slot: ");
goto out;
}

Expand Down
4 changes: 2 additions & 2 deletions src/mount.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ gboolean r_mount_full(const gchar *source, const gchar *mountpoint, const gchar*
g_propagate_prefixed_error(
error,
ierror,
"failed to start mount");
"failed to start mount: ");
goto out;
}

Expand All @@ -45,7 +45,7 @@ gboolean r_mount_full(const gchar *source, const gchar *mountpoint, const gchar*
g_propagate_prefixed_error(
error,
ierror,
"failed to run mount");
"failed to run mount: ");
goto out;
}

Expand Down

0 comments on commit 8dfa852

Please sign in to comment.