From ca558df378372b5884ff8069ed7ca0828d9b8de1 Mon Sep 17 00:00:00 2001 From: dillon Date: Thu, 28 Jan 1999 17:32:05 +0000 Subject: Fix warnings related to -Wall -Wcast-qual --- sys/kern/vfs_extattr.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/kern/vfs_extattr.c') diff --git a/sys/kern/vfs_extattr.c b/sys/kern/vfs_extattr.c index 548b480..b14c802 100644 --- a/sys/kern/vfs_extattr.c +++ b/sys/kern/vfs_extattr.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)vfs_syscalls.c 8.13 (Berkeley) 4/15/94 - * $Id: vfs_syscalls.c,v 1.113 1999/01/24 06:28:37 bde Exp $ + * $Id: vfs_syscalls.c,v 1.114 1999/01/27 21:49:58 dillon Exp $ */ /* For 4.3 integer FS ID compatibility */ @@ -111,7 +111,9 @@ mount(p, uap) struct vfsconf *vfsp; int error, flag = 0, flag2 = 0; struct vattr va; +#ifdef COMPAT_43 u_long fstypenum; +#endif struct nameidata nd; char fstypename[MFSNAMELEN]; -- cgit v1.1