summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-03-24 22:22:57 +0000
committerMatt Wilson <msw@redhat.com>2001-03-24 22:22:57 +0000
commitb3f69a9def4fe9ddc5bd332b052ddc8341d03eec (patch)
tree86e8fa058476ffea2ef84e6801ae1581b2202c2c
parent0cce751c8b111900245303defbafda2407364fd1 (diff)
downloadanaconda-b3f69a9def4fe9ddc5bd332b052ddc8341d03eec.tar.gz
anaconda-b3f69a9def4fe9ddc5bd332b052ddc8341d03eec.tar.xz
anaconda-b3f69a9def4fe9ddc5bd332b052ddc8341d03eec.zip
typo
-rw-r--r--loader/net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/net.c b/loader/net.c
index fd5dcf710..cce618cd0 100644
--- a/loader/net.c
+++ b/loader/net.c
@@ -505,7 +505,7 @@ int writeNetInfo(const char * fn, struct networkDeviceConfig * dev,
{
/* only enable the first device we see
in loader mode */
- if (i < 0)
+ if (i < 1)
#endif
fprintf(f, "ONBOOT=yes\n");
#ifndef __STANDALONE__