Source-Changes-HG archive

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

[src/trunk]: src/sbin/dmesg Whitespace. NFC.



details:   https://anonhg.NetBSD.org/src/rev/cb7cda23dc88
branches:  trunk
changeset: 835998:cb7cda23dc88
user:      kre <kre%NetBSD.org@localhost>
date:      Thu Sep 20 23:46:42 2018 +0000

description:
Whitespace.  NFC.

diffstat:

 sbin/dmesg/dmesg.c |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (63 lines):

diff -r af86e5ac2a4b -r cb7cda23dc88 sbin/dmesg/dmesg.c
--- a/sbin/dmesg/dmesg.c        Thu Sep 20 19:50:42 2018 +0000
+++ b/sbin/dmesg/dmesg.c        Thu Sep 20 23:46:42 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dmesg.c,v 1.39 2018/09/20 19:50:42 kre Exp $   */
+/*     $NetBSD: dmesg.c,v 1.40 2018/09/20 23:46:42 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.39 2018/09/20 19:50:42 kre Exp $");
+__RCSID("$NetBSD: dmesg.c,v 1.40 2018/09/20 23:46:42 kre Exp $");
 #endif
 #endif /* not lint */
 
@@ -106,7 +106,7 @@
 
 #define APPEND(a) \
     do if (a) \
-        APPENDFMT("%jd%c", a, toupper((unsigned char)__STRING(a)[0])); \
+       APPENDFMT("%jd%c", a, toupper((unsigned char)__STRING(a)[0])); \
     while (/*CONSTCOND*/0)
 #define APPENDS(a, pr, ms) \
     APPENDFMT("%jd%s%.*ld%c", a, radix, pr, ms, \
@@ -158,7 +158,7 @@
        int scale;
        int deltas, quiet, humantime;
        bool frac;
-       
+
        static const int bmib[] = { CTL_KERN, KERN_BOOTTIME };
        size = sizeof(boottime);
 
@@ -173,7 +173,7 @@
        lasttime.tv_nsec = 0;
        deltas = quiet = humantime = 0;
 
-        (void)sysctl(bmib, 2, &boottime, &size, NULL, 0);
+       (void)sysctl(bmib, 2, &boottime, &size, NULL, 0);
 
        memf = nlistf = NULL;
        while ((ch = getopt(argc, argv, "dM:N:tT")) != -1)
@@ -340,7 +340,7 @@
                                        if (localtime_r(&t, &tm) != NULL) {
                                                strftime(tbuf, sizeof(tbuf),
                                                    "%a %b %e %H:%M:%S %Z %Y",
-                                                    &tm);
+                                                   &tm);
                                                printf("%s", tbuf);
                                        }
                                } else if (humantime > 1) {
@@ -371,7 +371,7 @@
                                continue;
                        case ' ':
                                if (!tstamp)
-                                       continue;       
+                                       continue;
                                /*FALLTHROUGH*/
                        default:
                                if (tstamp) {



Home | Main Index | Thread Index | Old Index