diff --git a/usr.bin/wc/wc.c b/usr.bin/wc/wc.c index 196d6f488a81..265ede255dff 100644 --- a/usr.bin/wc/wc.c +++ b/usr.bin/wc/wc.c @@ -146,7 +146,7 @@ main(int argc, char *argv[]) exit(1); } - if (caph_enter() < 0) { + if (caph_enter_with_casper() < 0) { xo_warn("Unable to enter capability mode"); fileargs_free(fa); exit(1);