Date: Tue, 17 May 2016 00:27:18 +0000 (UTC) From: "Simon J. Gerraty" <sjg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r299998 - head/usr.bin/kdump Message-ID: <201605170027.u4H0RIP9005706@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sjg Date: Tue May 17 00:27:18 2016 New Revision: 299998 URL: https://svnweb.freebsd.org/changeset/base/299998 Log: Use != 0 to be clear Modified: head/usr.bin/kdump/kdump.c Modified: head/usr.bin/kdump/kdump.c ============================================================================== --- head/usr.bin/kdump/kdump.c Tue May 17 00:24:53 2016 (r299997) +++ head/usr.bin/kdump/kdump.c Tue May 17 00:27:18 2016 (r299998) @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605170027.u4H0RIP9005706>