diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-06-21 23:03:37 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-06-21 23:03:37 +0000 |
commit | 135cee3741c3447730c2655604b1b947fc5fce07 (patch) | |
tree | 26f9eff45dbcf4f80a583063dcde63352d31037a | |
parent | 35492137f8517e143aa8733e669a76e7a428838e (diff) | |
download | busybox-w32-135cee3741c3447730c2655604b1b947fc5fce07.tar.gz busybox-w32-135cee3741c3447730c2655604b1b947fc5fce07.tar.bz2 busybox-w32-135cee3741c3447730c2655604b1b947fc5fce07.zip |
Jean Wolter writes: modprobe checks, whether a module is already loaded. The function used for this currently always returns 0.
-rw-r--r-- | modutils/modprobe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modutils/modprobe.c b/modutils/modprobe.c index 14da0a729..6211c7d81 100644 --- a/modutils/modprobe.c +++ b/modutils/modprobe.c | |||
@@ -609,7 +609,7 @@ static int already_loaded (const char *name) | |||
609 | } | 609 | } |
610 | done: | 610 | done: |
611 | close (fd); | 611 | close (fd); |
612 | return 0; | 612 | return ret; |
613 | } | 613 | } |
614 | 614 | ||
615 | static int mod_process ( struct mod_list_t *list, int do_insert ) | 615 | static int mod_process ( struct mod_list_t *list, int do_insert ) |