Author: gonzo Date: Sun Jan 20 19:55:54 2019 New Revision: 343223 URL: https://svnweb.freebsd.org/changeset/base/343223
Log: Fix inconsistency in return values introduced by r343222 Consistently return 1 or the case of missing arguments in both functions PR: 219689 MFC after: 1 week X-MFC-With: 343222 Modified: head/usr.bin/systat/devs.c Modified: head/usr.bin/systat/devs.c ============================================================================== --- head/usr.bin/systat/devs.c Sun Jan 20 19:47:33 2019 (r343222) +++ head/usr.bin/systat/devs.c Sun Jan 20 19:55:54 2019 (r343223) @@ -195,7 +195,7 @@ dsmatchselect(const char *args, devstat_select_mode se if (!args) { warnx("dsmatchselect: no arguments"); - return(0); + return(1); } /* _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"