svn commit: r343223 - head/usr.bin/systat
Oleksandr Tymoshenko
gonzo at FreeBSD.org
Sun Jan 20 19:55:55 UTC 2019
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);
}
/*
More information about the svn-src-all
mailing list