Source-Changes-HG archive

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

[src/trunk]: src/sys/kern whitespace around operators



details:   https://anonhg.NetBSD.org/src/rev/31439777e2be
branches:  trunk
changeset: 452278:31439777e2be
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Jun 26 00:30:39 2019 +0000

description:
whitespace around operators

diffstat:

 sys/kern/kern_exec.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 5b99b63e5fc9 -r 31439777e2be sys/kern/kern_exec.c
--- a/sys/kern/kern_exec.c      Tue Jun 25 22:23:39 2019 +0000
+++ b/sys/kern/kern_exec.c      Wed Jun 26 00:30:39 2019 +0000
@@ -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 @@
        tlen = path + MAXPATHLEN - bp;
 
        memmove(path, bp, tlen);
-       path[tlen-1] = '\0';
+       path[tlen - 1] = '\0';
        if (offs)
                *offs = tlen - len;
 out:



Home | Main Index | Thread Index | Old Index