Source-Changes-HG archive

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

[src/trunk]: src/sys/fs/tmpfs "kauth_action_t = KAUTH_VNODE_WRITE_FLAGS; " mus...



details:   https://anonhg.NetBSD.org/src/rev/4c77a28b1326
branches:  trunk
changeset: 747119:4c77a28b1326
user:      pooka <pooka%NetBSD.org@localhost>
date:      Thu Sep 03 11:22:05 2009 +0000

description:
"kauth_action_t = KAUTH_VNODE_WRITE_FLAGS;" must be C**.  However,
we still use plain ISO C, so additionally supply the variable name.
Compile-tested only, but at least that's some testing.

diffstat:

 sys/fs/tmpfs/tmpfs_subr.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 169199dafa90 -r 4c77a28b1326 sys/fs/tmpfs/tmpfs_subr.c
--- a/sys/fs/tmpfs/tmpfs_subr.c Thu Sep 03 09:29:07 2009 +0000
+++ b/sys/fs/tmpfs/tmpfs_subr.c Thu Sep 03 11:22:05 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tmpfs_subr.c,v 1.54 2009/09/03 04:45:28 elad Exp $     */
+/*     $NetBSD: tmpfs_subr.c,v 1.55 2009/09/03 11:22:05 pooka Exp $    */
 
 /*
  * Copyright (c) 2005, 2006, 2007 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tmpfs_subr.c,v 1.54 2009/09/03 04:45:28 elad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tmpfs_subr.c,v 1.55 2009/09/03 11:22:05 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/dirent.h>
@@ -964,7 +964,7 @@
 {
        int error;
        struct tmpfs_node *node;
-       kauth_action_t = KAUTH_VNODE_WRITE_FLAGS;
+       kauth_action_t action = KAUTH_VNODE_WRITE_FLAGS;
        int fs_decision = 0;
 
        KASSERT(VOP_ISLOCKED(vp));



Home | Main Index | Thread Index | Old Index