Jean Wolter writes: modprobe checks, whether a module is already loaded. The function used for this currently always returns 0.

This commit is contained in:
Mike Frysinger 2006-06-21 23:03:37 +00:00
parent 35492137f8
commit 135cee3741

View File

@ -609,7 +609,7 @@ static int already_loaded (const char *name)
}
done:
close (fd);
return 0;
return ret;
}
static int mod_process ( struct mod_list_t *list, int do_insert )