summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/hostname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hostname.c b/src/hostname.c
index ddb1cf78f..830d6120a 100644
--- a/src/hostname.c
+++ b/src/hostname.c
@@ -98,7 +98,7 @@ main (int argc, char **argv)
/* Set hostname to argv[1]. */
err = sethostname (argv[1], strlen (argv[1]));
if (err != 0)
- error (1, errno, "%s", argv[1]);
+ error (1, errno, _("cannot set hostname to `%s'"), argv[1]);
exit (0);
}
#else