It is not an error to have no devices.
This commit is contained in:
parent
037c3d0fb0
commit
d2d0b14453
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=119029
@ -549,7 +549,7 @@ devstat_selectdevs(struct device_selection **dev_select, int *num_selected,
|
|||||||
int selection_number = 0;
|
int selection_number = 0;
|
||||||
int changed = 0, found = 0;
|
int changed = 0, found = 0;
|
||||||
|
|
||||||
if ((dev_select == NULL) || (devices == NULL) || (numdevs <= 0))
|
if ((dev_select == NULL) || (devices == NULL) || (numdevs < 0))
|
||||||
return(-1);
|
return(-1);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user