diff options
author | vapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-06-21 23:03:37 +0000 |
---|---|---|
committer | vapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-06-21 23:03:37 +0000 |
commit | cc781a3a641ebc25e82dc3151e0f97b536e180ff (patch) | |
tree | 26f9eff45dbcf4f80a583063dcde63352d31037a /modutils/modprobe.c | |
parent | ef21394ae019c8739ec89dd04e978b53d1c24ed8 (diff) | |
download | busybox-w32-cc781a3a641ebc25e82dc3151e0f97b536e180ff.tar.gz busybox-w32-cc781a3a641ebc25e82dc3151e0f97b536e180ff.tar.bz2 busybox-w32-cc781a3a641ebc25e82dc3151e0f97b536e180ff.zip |
Jean Wolter writes: modprobe checks, whether a module is already loaded. The function used for this currently always returns 0.
git-svn-id: svn://busybox.net/trunk/busybox@15474 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'modutils/modprobe.c')
-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 ) |