diff options
author | des <des@FreeBSD.org> | 2011-10-18 09:39:41 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2011-10-18 09:39:41 +0000 |
commit | 4ebe5d8b072978c7ea2953300ec756f400ff2387 (patch) | |
tree | 177696d25586f4733d94cd568db81d095fc2e75d /usr.bin/kdump | |
parent | 49ff1260bc3d60149dbcdde5cac9032d84f225b1 (diff) | |
download | FreeBSD-src-4ebe5d8b072978c7ea2953300ec756f400ff2387.zip FreeBSD-src-4ebe5d8b072978c7ea2953300ec756f400ff2387.tar.gz |
Fix copy-pasto in CAPFAIL_INCREASE case.
Noticed by: pjd
Diffstat (limited to 'usr.bin/kdump')
-rw-r--r-- | usr.bin/kdump/kdump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c index 2c5d03b..ba09170 100644 --- a/usr.bin/kdump/kdump.c +++ b/usr.bin/kdump/kdump.c @@ -1603,9 +1603,9 @@ ktrcapfail(struct ktr_cap_fail *ktr) case CAPFAIL_INCREASE: /* requested more capabilities than fd already has */ printf("attempt to increase capabilities from "); - capname((intmax_t)ktr->cap_needed); - printf(" to "); capname((intmax_t)ktr->cap_held); + printf(" to "); + capname((intmax_t)ktr->cap_needed); break; case CAPFAIL_SYSCALL: /* called restricted syscall */ |