From 975f59894ebe56666e6d3d98f0aafce9a5fcc635 Mon Sep 17 00:00:00 2001 From: tjr Date: Sun, 20 Jul 2003 11:27:54 +0000 Subject: Pass getvfsbyname() the address of a struct xvfsconf instead of struct vfsconf. This silences a warning, but could also prevent stack corruption problems if xvfsconf ever became larger than vfsconf. PR: 53863 Submitted by: Lukas Ertl --- contrib/smbfs/mount_smbfs/mount_smbfs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'contrib/smbfs') diff --git a/contrib/smbfs/mount_smbfs/mount_smbfs.c b/contrib/smbfs/mount_smbfs/mount_smbfs.c index 6c81f08..64fe0bd 100644 --- a/contrib/smbfs/mount_smbfs/mount_smbfs.c +++ b/contrib/smbfs/mount_smbfs/mount_smbfs.c @@ -30,6 +30,7 @@ * SUCH DAMAGE. * * $Id: mount_smbfs.c,v 1.17 2002/04/10 04:17:51 bp Exp $ + * $FreeBSD$ */ #include #include @@ -75,7 +76,7 @@ main(int argc, char *argv[]) extern void dropsuid(); extern int loadsmbvfs(); #else - struct vfsconf vfc; + struct xvfsconf vfc; #endif /* APPLE */ char *next; int opt, error, mntflags, caseopt; -- cgit v1.1