Module Name:    src
Committed By:   skrll
Date:           Wed Oct  9 05:59:51 UTC 2019

Modified Files:
        src/sys/kern: kern_history.c

Log Message:
Traiing whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/kern/kern_history.c

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

Modified files:

Index: src/sys/kern/kern_history.c
diff -u src/sys/kern/kern_history.c:1.18 src/sys/kern/kern_history.c:1.19
--- src/sys/kern/kern_history.c:1.18	Mon Sep  3 16:29:35 2018
+++ src/sys/kern/kern_history.c	Wed Oct  9 05:59:51 2019
@@ -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 @@ sysctl_kernhist_helper(SYSCTLFN_ARGS)
 	}
 
 	/* 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 @@ sysctl_kernhist_helper(SYSCTLFN_ARGS)
 		    "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 */

Reply via email to