summaryrefslogtreecommitdiffstats
path: root/loader2
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-07-07 18:53:50 +0000
committerJeremy Katz <katzj@redhat.com>2003-07-07 18:53:50 +0000
commitd17d32b77b84af50153ddfb93f787afb5cb5a2b2 (patch)
treeab4bba064b3060de3900c36c248e3afc4abbce12 /loader2
parentabd56aa11372df760fbba2c7e35be3e8b557872d (diff)
downloadanaconda-d17d32b77b84af50153ddfb93f787afb5cb5a2b2.tar.gz
anaconda-d17d32b77b84af50153ddfb93f787afb5cb5a2b2.tar.xz
anaconda-d17d32b77b84af50153ddfb93f787afb5cb5a2b2.zip
sync with taroon
Diffstat (limited to 'loader2')
-rw-r--r--loader2/net.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/loader2/net.c b/loader2/net.c
index a0e50da28..c86be03d4 100644
--- a/loader2/net.c
+++ b/loader2/net.c
@@ -711,6 +711,7 @@ int chooseNetworkInterface(struct knownDevices * kd,
/* JKFIXME: this is a lot bigger than it has to be.. */
devices = alloca((kd->numKnown + 1) * sizeof(*devices));
+ deviceNames = alloca((kd->numKnown + 1) * sizeof(*devices));
for (i = 0; i < kd->numKnown; i++) {
if (kd->known[i].class != CLASS_NETWORK)
continue;