1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-12 09:58:36 +00:00

syserr()'s first argument is not exit status, avoid dereferencing (char *)0

in printf(3).
This commit is contained in:
Juli Mallett 2002-06-23 18:29:52 +00:00
parent cfbf0a4678
commit 54f3395319
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98688

View File

@ -218,7 +218,7 @@ char **argv;
av++;
}
if (ac > 2)
syserr(0, "arg count");
syserr("arg count");
/*
if (ac > 1)
f_log = fopen(av[0], opencode);