It is not an error to have no devices.

This commit is contained in:
Poul-Henning Kamp 2003-08-17 12:06:44 +00:00
parent 037c3d0fb0
commit d2d0b14453

View File

@ -549,7 +549,7 @@ devstat_selectdevs(struct device_selection **dev_select, int *num_selected,
int selection_number = 0;
int changed = 0, found = 0;
if ((dev_select == NULL) || (devices == NULL) || (numdevs <= 0))
if ((dev_select == NULL) || (devices == NULL) || (numdevs < 0))
return(-1);
/*