summaryrefslogtreecommitdiffstats
path: root/src/appliance.c
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2010-12-11 23:07:56 +0000
committerRichard W.M. Jones <rjones@redhat.com>2010-12-11 23:07:56 +0000
commit3d114fcf84372c52ea769c4bb8efa572936f1f5a (patch)
tree78f014d7718056c9c2d543eeee922a0efb13701b /src/appliance.c
parent52c6b0d96d26ae056759222fe0ac029ca2d60bbf (diff)
downloadlibguestfs-3d114fcf84372c52ea769c4bb8efa572936f1f5a.tar.gz
libguestfs-3d114fcf84372c52ea769c4bb8efa572936f1f5a.tar.xz
libguestfs-3d114fcf84372c52ea769c4bb8efa572936f1f5a.zip
Remove extra \n character from end of error messages.
Diffstat (limited to 'src/appliance.c')
-rw-r--r--src/appliance.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/appliance.c b/src/appliance.c
index 1740dfcf..6d560ec4 100644
--- a/src/appliance.c
+++ b/src/appliance.c
@@ -329,17 +329,17 @@ check_for_cached_appliance (guestfs_h *g,
if (lstat (cachedir, &statbuf) == -1)
return 0;
if (statbuf.st_uid != uid) {
- error (g, _("security: cached appliance %s is not owned by UID %d\n"),
+ error (g, _("security: cached appliance %s is not owned by UID %d"),
filename, uid);
return -1;
}
if (!S_ISDIR (statbuf.st_mode)) {
- error (g, _("security: cached appliance %s is not a directory (mode %o)\n"),
+ error (g, _("security: cached appliance %s is not a directory (mode %o)"),
filename, statbuf.st_mode);
return -1;
}
if ((statbuf.st_mode & 0022) != 0) {
- error (g, _("security: cached appliance %s is writable by group or other (mode %o)\n"),
+ error (g, _("security: cached appliance %s is writable by group or other (mode %o)"),
cachedir, statbuf.st_mode);
return -1;
}