Module Name:    src
Committed By:   kre
Date:           Wed Jan  1 00:24:52 UTC 2020

Modified Files:
        src/sbin/dmesg: dmesg.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sbin/dmesg/dmesg.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sbin/dmesg/dmesg.c
diff -u src/sbin/dmesg/dmesg.c:1.44 src/sbin/dmesg/dmesg.c:1.45
--- src/sbin/dmesg/dmesg.c:1.44	Tue Dec 31 19:58:56 2019
+++ src/sbin/dmesg/dmesg.c	Wed Jan  1 00:24:52 2020
@@ -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 @@ __COPYRIGHT("@(#) Copyright (c) 1991, 19
 #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 @@ main(int argc, char *argv[])
 				continue;
 #endif
 			case ' ':
+#ifndef SMALL
 				if (!tstamp && postts) {
 					postts = false;
+#else
+				if (!tstamp) {
+#endif
 					continue;
 				}
 				/*FALLTHROUGH*/

Reply via email to