diff --git a/usr.bin/wc/wc.c b/usr.bin/wc/wc.c index 265ede255dff..744e4a6715f5 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_with_casper() < 0) { + if (caph_enter_capser() < 0) { xo_warn("Unable to enter capability mode"); fileargs_free(fa); exit(1);