Source-Changes-HG archive

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

[src/trunk]: src/distrib/utils/sysinst logic mistake in 1.60 -> 1.61; ask med...



details:   https://anonhg.NetBSD.org/src/rev/3b6686767d44
branches:  trunk
changeset: 533041:3b6686767d44
user:      itojun <itojun%NetBSD.org@localhost>
date:      Wed Jun 19 16:30:52 2002 +0000

description:
logic mistake in 1.60 -> 1.61; ask media type if needed.
From: Masanori Kanaoka <kanaoka%ann.hi-ho.ne.jp@localhost>

diffstat:

 distrib/utils/sysinst/net.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 717ca98fc9d7 -r 3b6686767d44 distrib/utils/sysinst/net.c
--- a/distrib/utils/sysinst/net.c       Wed Jun 19 16:30:31 2002 +0000
+++ b/distrib/utils/sysinst/net.c       Wed Jun 19 16:30:52 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: net.c,v 1.78 2002/06/06 09:53:22 lukem Exp $   */
+/*     $NetBSD: net.c,v 1.79 2002/06/19 16:30:52 itojun Exp $  */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -444,7 +444,7 @@
        msg_display(MSG_netinfo);
 
        /* ethernet medium */
-       if (strlen(net_media) == 0)
+       if (strlen(net_media) != 0)
                msg_prompt_add(MSG_net_media, net_media, net_media, STRSIZE);
 
        /* try a dhcp configuration */



Home | Main Index | Thread Index | Old Index