diff options
author | tjr <tjr@FreeBSD.org> | 2002-05-27 03:54:45 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2002-05-27 03:54:45 +0000 |
commit | 3a59030266d6a5023f4e765d1fc3495503db334c (patch) | |
tree | 43cba88eb50329dc66f4529b3c56103dbe326d6d /usr.bin/ctags | |
parent | ef78f19043b099e70add5028a46f18fcc1ac79fd (diff) | |
download | FreeBSD-src-3a59030266d6a5023f4e765d1fc3495503db334c.zip FreeBSD-src-3a59030266d6a5023f4e765d1fc3495503db334c.tar.gz |
Exit non-zero if the tags file cannot be opened.
Diffstat (limited to 'usr.bin/ctags')
-rw-r--r-- | usr.bin/ctags/ctags.c | 2 |
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) { |