summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/ctags/ctags.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ctags/ctags.c b/usr.bin/ctags/ctags.c
index 745156b..2acf58f 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) {
OpenPOWER on IntegriCloud