Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/dmesg handle log being before timestamp...
details: https://anonhg.NetBSD.org/src/rev/ee522a7250ef
branches: trunk
changeset: 321707:ee522a7250ef
user: christos <christos%NetBSD.org@localhost>
date: Sun Apr 01 19:36:13 2018 +0000
description:
handle log being before timestamp...
diffstat:
sbin/dmesg/dmesg.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (35 lines):
diff -r d46372b9e21e -r ee522a7250ef sbin/dmesg/dmesg.c
--- a/sbin/dmesg/dmesg.c Sun Apr 01 19:31:16 2018 +0000
+++ b/sbin/dmesg/dmesg.c Sun Apr 01 19:36:13 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dmesg.c,v 1.28 2018/04/01 19:31:16 christos Exp $ */
+/* $NetBSD: dmesg.c,v 1.29 2018/04/01 19:36:13 christos 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.28 2018/04/01 19:31:16 christos Exp $");
+__RCSID("$NetBSD: dmesg.c,v 1.29 2018/04/01 19:36:13 christos Exp $");
#endif
#endif /* not lint */
@@ -198,7 +198,7 @@
log = 1;
continue;
case '>':
- log = newl = 0;
+ log = 0;
continue;
case ']':
ADDC(ch);
@@ -237,6 +237,7 @@
continue;
break;
}
+ newl = 0;
}
if (ch == '\0')
continue;
Home |
Main Index |
Thread Index |
Old Index