Source-Changes-HG archive

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

[src/trunk]: src/sbin/dmesg Make recent change build for SMALL builds as well...



details:   https://anonhg.NetBSD.org/src/rev/f053cdbbc9ab
branches:  trunk
changeset: 968021:f053cdbbc9ab
user:      kre <kre%NetBSD.org@localhost>
date:      Wed Jan 01 00:24:52 2020 +0000

description:
Make recent change build for SMALL builds as well as normal ones.

diffstat:

 sbin/dmesg/dmesg.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r 983a4ebc381a -r f053cdbbc9ab sbin/dmesg/dmesg.c
--- a/sbin/dmesg/dmesg.c        Tue Dec 31 23:32:05 2019 +0000
+++ b/sbin/dmesg/dmesg.c        Wed Jan 01 00:24:52 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dmesg.c,v 1.44 2019/12/31 19:58:56 tsutsui Exp $       */
+/*     $NetBSD: dmesg.c,v 1.45 2020/01/01 00:24:52 kre Exp $   */
 /*-
  * Copyright (c) 1991, 1993
  *     The Regents of the University of California.  All rights reserved.
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)dmesg.c    8.1 (Berkeley) 6/5/93";
 #else
-__RCSID("$NetBSD: dmesg.c,v 1.44 2019/12/31 19:58:56 tsutsui Exp $");
+__RCSID("$NetBSD: dmesg.c,v 1.45 2020/01/01 00:24:52 kre Exp $");
 #endif
 #endif /* not lint */
 
@@ -377,8 +377,12 @@
                                continue;
 #endif
                        case ' ':
+#ifndef SMALL
                                if (!tstamp && postts) {
                                        postts = false;
+#else
+                               if (!tstamp) {
+#endif
                                        continue;
                                }
                                /*FALLTHROUGH*/



Home | Main Index | Thread Index | Old Index