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:
Oleksandr Tymoshenko 2019-01-20 19:55:54 +00:00
parent 13fe9f7f82
commit e457729f18
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=343223

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);
}
/*