diff options
author | tjr <tjr@FreeBSD.org> | 2003-07-20 11:27:54 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2003-07-20 11:27:54 +0000 |
commit | 975f59894ebe56666e6d3d98f0aafce9a5fcc635 (patch) | |
tree | 423845f4680fe04e01111f8395f57b6a6433831b /contrib | |
parent | 8ad48d0b8153eaa31c20cba4a1bd0e7b9a614740 (diff) | |
download | FreeBSD-src-975f59894ebe56666e6d3d98f0aafce9a5fcc635.zip FreeBSD-src-975f59894ebe56666e6d3d98f0aafce9a5fcc635.tar.gz |
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
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/smbfs/mount_smbfs/mount_smbfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <sys/param.h> #include <sys/stat.h> @@ -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; |