# HG changeset patch # User Toomas Soome # Date 1558546490 -10800 # Node ID ea07f7be4ef83acf4200d4f9064695ca8d5fee17 # Parent 4d574f60ad59f20b2809b236c3576ec873998c62 11062 psrinfo: comparison between pointer and integer Reviewed by: Sebastian Wiedenroth Reviewed by: Gergő Doma Approved by: Gordon Ross diff -r 4d574f60ad59 -r ea07f7be4ef8 usr/src/cmd/psrinfo/psrinfo.c --- a/usr/src/cmd/psrinfo/psrinfo.c Sat May 18 09:15:16 2019 +0300 +++ b/usr/src/cmd/psrinfo/psrinfo.c Wed May 22 20:34:50 2019 +0300 @@ -752,7 +752,7 @@ return (EXIT_SUCCESS); } - if (opt_t != NULL) { + if (opt_t != 0) { if (optind != argc) usage(_("cannot specify CPUs with -t")); if (opt_s || opt_v)