summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2009-08-06 16:30:17 -1000
committerDavid Cantrell <dcantrell@redhat.com>2009-08-06 16:30:17 -1000
commit14bfbd456e676dae15de59e585bfb4c59a98b331 (patch)
tree16db97dce4c42dfdb4e427a2b08f7c78b7e6e667
parent7be55e288a4726d14ffc9df60f5e5892db2a2048 (diff)
downloadanaconda-14bfbd456e676dae15de59e585bfb4c59a98b331.tar.gz
anaconda-14bfbd456e676dae15de59e585bfb4c59a98b331.tar.xz
anaconda-14bfbd456e676dae15de59e585bfb4c59a98b331.zip
Add missing 'i' in loader/loader.c for non-s390 arches.
We actually need 'i' on everything but s390. The world is not all mainframes.
-rw-r--r--loader/loader.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/loader/loader.c b/loader/loader.c
index 537b66668..93fc4aeeb 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -1974,6 +1974,8 @@ int main(int argc, char ** argv) {
/* Disable all network interfaces in NetworkManager by default */
#if !defined(__s390__) && !defined(__s390x__)
+ int i;
+
if ((i = writeDisabledNetInfo()) != 0) {
logMessage(ERROR, "writeDisabledNetInfo failure: %d", i);
}