Use != 0 to be clear

This commit is contained in:
Simon J. Gerraty 2016-05-17 00:27:18 +00:00
parent 40f58305bb
commit 9d0fa50eed
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=299998

View File

@ -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);