summaryrefslogtreecommitdiff
path: root/src/chroot.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chroot.c')
-rw-r--r--src/chroot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chroot.c b/src/chroot.c
index 42b450178..9551d934f 100644
--- a/src/chroot.c
+++ b/src/chroot.c
@@ -355,7 +355,7 @@ main (int argc, char **argv)
char const *err = parse_user_spec (userspec, &uid, &gid, NULL, NULL);
if (err && uid_unset (uid) && gid_unset (gid))
- error (EXIT_CANCELED, errno, "%s", err);
+ error (EXIT_CANCELED, errno, "%s", (err));
}
/* If no gid is supplied or looked up, do so now.