diff options
author | Stef Walter <stef@memberwebs.com> | 2004-05-20 00:17:50 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2004-05-20 00:17:50 +0000 |
commit | 5e68d624e93d6f1af931fa9a49b1fe3ddba308e5 (patch) | |
tree | 7c4d6a247de18880d6eedbb5dd3501024a14d4fb /srcx | |
parent | c741daf0524869d8bf4ab5b78a8b8a25ba7ceb0a (diff) |
Small bug and doc fixes
Diffstat (limited to 'srcx')
-rw-r--r-- | srcx/injail.8 | 3 | ||||
-rw-r--r-- | srcx/jid.c | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/srcx/injail.8 b/srcx/injail.8 index 036ef7b..fbe5dc9 100644 --- a/srcx/injail.8 +++ b/srcx/injail.8 @@ -71,6 +71,7 @@ cause this to fail as well. There aught to be a cleaner way. .Sh AUTHOR James E. Quick <jq@quick.com> .Sh SEE ALSO -.Xr jailer 8 , +.Xr jails 8 , .Xr jail 8 , +.Xr jls 8 , .Xr kvm 3 @@ -69,7 +69,7 @@ int main(int argc, char* argv[]) if(running_in_jail() != 0) errx(1, "can't run from inside jail"); - len = get_jail_sysctl(&xp); + len = get_jail_sysctl(&sxp); xp = find_jail(argv[0], len, sxp); strtol(argv[0], &e, 10); @@ -89,7 +89,7 @@ int main(int argc, char* argv[]) if(xp == NULL) errx(1, "unknown jail host name: %s", argv[0]); - printf("%d\n", xp->pr_host); + printf("%d\n", xp->pr_id); } return 0; |