diff --git a/usr.bin/ctags/ctags.c b/usr.bin/ctags/ctags.c index 745156b8c20f..2acf58f8852d 100644 --- a/usr.bin/ctags/ctags.c +++ b/usr.bin/ctags/ctags.c @@ -166,7 +166,7 @@ main(argc, argv) ++aflag; } if (!(outf = fopen(outfile, aflag ? "a" : "w"))) - err(exit_val, "%s", outfile); + err(1, "%s", outfile); put_entries(head); (void)fclose(outf); if (uflag) {