Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/sysinst Make it compile on architectures that do no...



details:   https://anonhg.NetBSD.org/src/rev/e57ee2d61f90
branches:  trunk
changeset: 338119:e57ee2d61f90
user:      martin <martin%NetBSD.org@localhost>
date:      Mon May 11 06:58:13 2015 +0000

description:
Make it compile on architectures that do not support INET6 in sysinst

diffstat:

 usr.sbin/sysinst/net.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r c060f12b9de1 -r e57ee2d61f90 usr.sbin/sysinst/net.c
--- a/usr.sbin/sysinst/net.c    Mon May 11 06:44:36 2015 +0000
+++ b/usr.sbin/sysinst/net.c    Mon May 11 06:58:13 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: net.c,v 1.18 2015/05/10 10:14:02 martin Exp $  */
+/*     $NetBSD: net.c,v 1.19 2015/05/11 06:58:13 martin Exp $  */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -490,10 +490,9 @@
        int menu_no;
        int num_devs;
        int selected_net;
-
-       int i, rv;
+       int i;
 #ifdef INET6
-       int v6config = 1;
+       int v6config = 1, rv;
 #endif
 
        FILE *f;



Home | Main Index | Thread Index | Old Index