Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Traiing whitespace



details:   https://anonhg.NetBSD.org/src/rev/1ca89b7b897e
branches:  trunk
changeset: 455147:1ca89b7b897e
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Oct 09 05:59:51 2019 +0000

description:
Traiing whitespace

diffstat:

 sys/kern/kern_history.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r cccfe5539258 -r 1ca89b7b897e sys/kern/kern_history.c
--- a/sys/kern/kern_history.c   Wed Oct 09 05:29:18 2019 +0000
+++ b/sys/kern/kern_history.c   Wed Oct 09 05:59:51 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_history.c,v 1.18 2018/09/03 16:29:35 riastradh Exp $       */
+/*     $NetBSD: kern_history.c,v 1.19 2019/10/09 05:59:51 skrll Exp $   */
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_history.c,v 1.18 2018/09/03 16:29:35 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_history.c,v 1.19 2019/10/09 05:59:51 skrll Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kernhist.h"
@@ -483,7 +483,7 @@
        }
 
        /* Total buffer size includes header, events, and string table */
-       bufsize = sizeof(struct sysctl_history) + 
+       bufsize = sizeof(struct sysctl_history) +
            h->n * sizeof(struct sysctl_history_event) +
            xlate_t[xlate_c].offset;
        buf = kmem_alloc(bufsize, KM_SLEEP);
@@ -539,7 +539,7 @@
                    "entry %d at wrong offset %"PRIu32, i, xlt->offset);
                memcpy(next, xlt->addr, xlt->len);
                next += xlt->len;
-               *next++ = '\0'; 
+               *next++ = '\0';
        }
 
        /* Copy data to userland */



Home | Main Index | Thread Index | Old Index