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
7c89949f9a
commit
7023c13d36
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user