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