summaryrefslogtreecommitdiff
path: root/sys/lib
diff options
context:
space:
mode:
authorjmcneill <jmcneill@NetBSD.org>2021-10-17 14:12:21 +0000
committerjmcneill <jmcneill@NetBSD.org>2021-10-17 14:12:21 +0000
commit9ff71bb2277bf72de6e4adc5ee64049d12dcb818 (patch)
treee85a14eef8b2e9b8a6405c31135e5be8a1da524c /sys/lib
parent6a8511878f73dcc30b634f320ca3f445ea190d9e (diff)
Only define DEFAULT_TIMEOUT if it is not already defined.
Diffstat (limited to 'sys/lib')
-rw-r--r--sys/lib/libsa/bootcfg.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/lib/libsa/bootcfg.c b/sys/lib/libsa/bootcfg.c
index dca1ffccb40..720d0ec7d4e 100644
--- a/sys/lib/libsa/bootcfg.c
+++ b/sys/lib/libsa/bootcfg.c
@@ -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;