Fix copy-pasto in CAPFAIL_INCREASE case.
Noticed by: pjd
This commit is contained in:
parent
99afdfe58d
commit
60e45df8ed
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=226505
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user