Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/fs/smbfs Replace old style open array with C99 variant -...
details: https://anonhg.NetBSD.org/src/rev/dca6ad5ec7b1
branches: trunk
changeset: 335292:dca6ad5ec7b1
user: martin <martin%NetBSD.org@localhost>
date: Fri Jan 02 09:48:01 2015 +0000
description:
Replace old style open array with C99 variant - cosmetic only, but should
help coverity.
diffstat:
sys/fs/smbfs/smbfs_node.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 1da537bfbe11 -r dca6ad5ec7b1 sys/fs/smbfs/smbfs_node.h
--- a/sys/fs/smbfs/smbfs_node.h Fri Jan 02 06:21:28 2015 +0000
+++ b/sys/fs/smbfs/smbfs_node.h Fri Jan 02 09:48:01 2015 +0000
@@ -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 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 {
Home |
Main Index |
Thread Index |
Old Index