Module Name:    src
Committed By:   christos
Date:           Wed Jun 26 00:30:39 UTC 2019

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

Log Message:
whitespace around operators


To generate a diff of this commit:
cvs rdiff -u -r1.472 -r1.473 src/sys/kern/kern_exec.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_exec.c
diff -u src/sys/kern/kern_exec.c:1.472 src/sys/kern/kern_exec.c:1.473
--- src/sys/kern/kern_exec.c:1.472	Tue Jun 25 17:32:58 2019
+++ src/sys/kern/kern_exec.c	Tue Jun 25 20:30:39 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: kern_exec.c,v 1.472 2019/06/25 21:32:58 christos Exp $	*/
+/*	$NetBSD: kern_exec.c,v 1.473 2019/06/26 00:30:39 christos Exp $	*/
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -59,7 +59,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_exec.c,v 1.472 2019/06/25 21:32:58 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_exec.c,v 1.473 2019/06/26 00:30:39 christos Exp $");
 
 #include "opt_exec.h"
 #include "opt_execfmt.h"
@@ -661,7 +661,7 @@ exec_makepathbuf(struct lwp *l, const ch
 	tlen = path + MAXPATHLEN - bp;
 
 	memmove(path, bp, tlen);
-	path[tlen-1] = '\0';
+	path[tlen - 1] = '\0';
 	if (offs)
 		*offs = tlen - len;
 out:

Reply via email to