mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Use != 0 to be clear
This commit is contained in:
parent
40f58305bb
commit
9d0fa50eed
1 changed files with 1 additions and 1 deletions
|
|
@ -298,7 +298,7 @@ main(int argc, char *argv[])
|
|||
m = malloc(size = 1025);
|
||||
if (m == NULL)
|
||||
errx(1, "%s", strerror(ENOMEM));
|
||||
if (strcmp(tracefile, "-"))
|
||||
if (strcmp(tracefile, "-") != 0)
|
||||
if (!freopen(tracefile, "r", stdin))
|
||||
err(1, "%s", tracefile);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue