syserr()'s first argument is not exit status, avoid dereferencing (char *)0
in printf(3).
This commit is contained in:
parent
cfbf0a4678
commit
54f3395319
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user