Source-Changes-HG archive

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

[src/trunk]: src/sys/lib/libsa Only define DEFAULT_TIMEOUT if it is not alrea...



details:   https://anonhg.NetBSD.org/src/rev/24d5503da98b
branches:  trunk
changeset: 989863:24d5503da98b
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Oct 17 14:12:21 2021 +0000

description:
Only define DEFAULT_TIMEOUT if it is not already defined.

diffstat:

 sys/lib/libsa/bootcfg.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 58bbd8abf913 -r 24d5503da98b sys/lib/libsa/bootcfg.c
--- a/sys/lib/libsa/bootcfg.c   Sun Oct 17 12:41:05 2021 +0000
+++ b/sys/lib/libsa/bootcfg.c   Sun Oct 17 14:12:21 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bootcfg.c,v 1.7 2021/09/07 11:41:31 nia Exp $  */
+/*     $NetBSD: bootcfg.c,v 1.8 2021/10/17 14:12:21 jmcneill Exp $     */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -38,7 +38,9 @@
 #define MENUFORMAT_LETTER 2
 
 #define DEFAULT_FORMAT  MENUFORMAT_AUTO
+#ifndef DEFAULT_TIMEOUT
 #define DEFAULT_TIMEOUT 10
+#endif
 
 struct bootcfg_def bootcfg_info;
 



Home | Main Index | Thread Index | Old Index