summaryrefslogtreecommitdiffstats
path: root/usr.sbin/jexec/jexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/jexec/jexec.c')
-rw-r--r--usr.sbin/jexec/jexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/jexec/jexec.c b/usr.sbin/jexec/jexec.c
index 75f005f..5b67da3 100644
--- a/usr.sbin/jexec/jexec.c
+++ b/usr.sbin/jexec/jexec.c
@@ -98,7 +98,7 @@ main(int argc, char *argv[])
jid = (int)strtol(argv[0], NULL, 10);
if (jail_attach(jid) == -1)
if (jail_attach(addr2jid(argv[0])) == -1)
- errx(1, "jail_attach(): Cant convert %s to jid", argv[0]);
+ errx(1, "jail_attach(): Cannot convert %s to jid", argv[0]);
if (chdir("/") == -1)
err(1, "chdir(): /");
if (username != NULL) {
OpenPOWER on IntegriCloud