Module Name: src
Committed By: martin
Date: Fri Jan 2 09:48:01 UTC 2015
Modified Files:
src/sys/fs/smbfs: smbfs_node.h
Log Message:
Replace old style open array with C99 variant - cosmetic only, but should
help coverity.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/fs/smbfs/smbfs_node.h
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/smbfs/smbfs_node.h
diff -u src/sys/fs/smbfs/smbfs_node.h:1.14 src/sys/fs/smbfs/smbfs_node.h:1.15
--- src/sys/fs/smbfs/smbfs_node.h:1.14 Sun Dec 21 10:48:53 2014
+++ src/sys/fs/smbfs/smbfs_node.h Fri Jan 2 09:48:01 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: smbfs_node.h,v 1.14 2014/12/21 10:48:53 hannken Exp $ */
+/* $NetBSD: smbfs_node.h,v 1.15 2015/01/02 09:48:01 martin Exp $ */
/*
* Copyright (c) 2000-2001, Boris Popov
@@ -58,7 +58,7 @@ struct smbfs_fctx;
struct smbkey {
struct vnode * k_parent; /* Parent vnode. */
u_char k_nmlen; /* Name length. */
- u_char k_name[0]; /* Name (variable length). */
+ u_char k_name[]; /* Name (variable length). */
} __packed;
struct smbnode {