summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-12-04 11:15:36 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-12-04 11:15:36 +0000
commit432169003898362feb8de468f691065a6b777e92 (patch)
treeacd2abff2e268167f5e67ed6882d8e1f66006b55 /mdk-stage1
parent4874f4a81969376bd69779d51057816c4e438262 (diff)
downloaddrakx-432169003898362feb8de468f691065a6b777e92.tar
drakx-432169003898362feb8de468f691065a6b777e92.tar.gz
drakx-432169003898362feb8de468f691065a6b777e92.tar.bz2
drakx-432169003898362feb8de468f691065a6b777e92.tar.xz
drakx-432169003898362feb8de468f691065a6b777e92.zip
fpons is a sucking chief
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/modules.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/mdk-stage1/modules.c b/mdk-stage1/modules.c
index 9b9303e93..72190819a 100644
--- a/mdk-stage1/modules.c
+++ b/mdk-stage1/modules.c
@@ -241,9 +241,6 @@ static enum insmod_return insmod_with_deps(const char * mod_name, char * options
enum insmod_return my_insmod(const char * mod_name, enum driver_type type, char * options)
{
-#ifndef DISABLE_NETWORK
- char alias[500];
-#endif
int i;
#ifndef DISABLE_NETWORK
char ** net_devices = NULL; /* fucking compiler */
@@ -271,6 +268,7 @@ enum insmod_return my_insmod(const char * mod_name, enum driver_type type, char
if (type == NETWORK_DEVICES) {
char ** new_net_devices = get_net_devices();
while (new_net_devices && *new_net_devices) {
+ char alias[500];
char ** ptr = net_devices;
while (ptr && *ptr) {
if (!strcmp(*new_net_devices, *ptr))