Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/sysinst Clear the msg area after prompting for the ...



details:   https://anonhg.NetBSD.org/src/rev/506fae076456
branches:  trunk
changeset: 372887:506fae076456
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Jan 03 16:16:15 2023 +0000

description:
Clear the msg area after prompting for the network device to use

diffstat:

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

diffs (17 lines):

diff -r f8eb69cac6f1 -r 506fae076456 usr.sbin/sysinst/net.c
--- a/usr.sbin/sysinst/net.c    Tue Jan 03 00:00:45 2023 +0000
+++ b/usr.sbin/sysinst/net.c    Tue Jan 03 16:16:15 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: net.c,v 1.43 2022/05/18 16:39:03 martin Exp $  */
+/*     $NetBSD: net.c,v 1.44 2023/01/03 16:16:15 martin Exp $  */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -594,6 +594,7 @@
        selected_net = -1;
        msg_display(MSG_asknetdev);
        process_menu(menu_no, &selected_net);
+       msg_clear();
 
        if (selected_net == -1) {
                free_menu(menu_no);



Home | Main Index | Thread Index | Old Index