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
This commit is contained in:
gonzo 2019-01-20 19:55:54 +00:00
parent 7c89949f9a
commit 7023c13d36

View File

@ -195,7 +195,7 @@ dsmatchselect(const char *args, devstat_select_mode select_mode, int maxshowdevs
if (!args) {
warnx("dsmatchselect: no arguments");
return(0);
return(1);
}
/*