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:
parent
13fe9f7f82
commit
e457729f18
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=343223
@ -195,7 +195,7 @@ dsmatchselect(const char *args, devstat_select_mode select_mode, int maxshowdevs
|
|||||||
|
|
||||||
if (!args) {
|
if (!args) {
|
||||||
warnx("dsmatchselect: no arguments");
|
warnx("dsmatchselect: no arguments");
|
||||||
return(0);
|
return(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user