Module Name:    src
Committed By:   pooka
Date:           Thu Sep  3 11:22:05 UTC 2009

Modified Files:
        src/sys/fs/tmpfs: tmpfs_subr.c

Log Message:
"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.


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/fs/tmpfs/tmpfs_subr.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/fs/tmpfs/tmpfs_subr.c
diff -u src/sys/fs/tmpfs/tmpfs_subr.c:1.54 src/sys/fs/tmpfs/tmpfs_subr.c:1.55
--- src/sys/fs/tmpfs/tmpfs_subr.c:1.54	Thu Sep  3 04:45:28 2009
+++ src/sys/fs/tmpfs/tmpfs_subr.c	Thu Sep  3 11:22:05 2009
@@ -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));

Reply via email to