diff options
author | mike <mike@FreeBSD.org> | 2003-04-22 13:24:56 +0000 |
---|---|---|
committer | mike <mike@FreeBSD.org> | 2003-04-22 13:24:56 +0000 |
commit | 4447272524434746a42edbcfbb959ed4a22adda0 (patch) | |
tree | 87c7b9babf38f200bb3e82fa184561b40f163590 | |
parent | 0157864ca98f2c0f9fcaaf6025d6ceb08d26c91c (diff) | |
download | FreeBSD-src-4447272524434746a42edbcfbb959ed4a22adda0.zip FreeBSD-src-4447272524434746a42edbcfbb959ed4a22adda0.tar.gz |
IP addresses can be up to 15 characters long, not 12.
PR: 50904
-rw-r--r-- | usr.sbin/jls/jls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/jls/jls.c b/usr.sbin/jls/jls.c index b539427..0ad36d1 100644 --- a/usr.sbin/jls/jls.c +++ b/usr.sbin/jls/jls.c @@ -65,10 +65,10 @@ retry: xp->pr_version != XPRISON_VERSION) errx(1, "Kernel and userland out of sync"); - printf(" JID IP Address Hostname Path\n"); + printf(" JID IP Address Hostname Path\n"); for (i = 0; i < len / sizeof(*xp); i++) { in.s_addr = ntohl(xp->pr_ip); - printf("%6d %-12.12s %-29.29s %.77s\n", + printf("%6d %-15.15s %-29.29s %.74s\n", xp->pr_id, inet_ntoa(in), xp->pr_host, xp->pr_path); xp++; } |