Source-Changes-HG archive

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

[src/trunk]: src/sys/kern fix an indent an unwarp a short line.



details:   https://anonhg.NetBSD.org/src/rev/c48e93f11b93
branches:  trunk
changeset: 771741:c48e93f11b93
user:      yamt <yamt%NetBSD.org@localhost>
date:      Fri Dec 02 12:30:14 2011 +0000

description:
fix an indent an unwarp a short line.

diffstat:

 sys/kern/vfs_syscalls.c |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (31 lines):

diff -r 5178e0f382f1 -r c48e93f11b93 sys/kern/vfs_syscalls.c
--- a/sys/kern/vfs_syscalls.c   Fri Dec 02 12:29:35 2011 +0000
+++ b/sys/kern/vfs_syscalls.c   Fri Dec 02 12:30:14 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vfs_syscalls.c,v 1.441 2011/11/18 21:17:45 christos Exp $      */
+/*     $NetBSD: vfs_syscalls.c,v 1.442 2011/12/02 12:30:14 yamt Exp $  */
 
 /*-
  * Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -70,7 +70,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_syscalls.c,v 1.441 2011/11/18 21:17:45 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_syscalls.c,v 1.442 2011/12/02 12:30:14 yamt Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_fileassoc.h"
@@ -3569,10 +3569,9 @@
                        error = -1;
                else if (fromnd.ni_dvp == tdvp &&
                    fromnd.ni_cnd.cn_namelen == tond.ni_cnd.cn_namelen &&
-                   !memcmp(fromnd.ni_cnd.cn_nameptr,
-                         tond.ni_cnd.cn_nameptr,
+                   !memcmp(fromnd.ni_cnd.cn_nameptr, tond.ni_cnd.cn_nameptr,
                          fromnd.ni_cnd.cn_namelen))
-               error = -1;
+                       error = -1;
        }
        /*
         * Prevent cross-mount operation.



Home | Main Index | Thread Index | Old Index