Date: Sat, 28 Jun 2003 02:38:06 +0200 (CEST) From: Lukas Ertl <l.ertl@univie.ac.at> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/53863: [PATCH] mount_smbfs: argument 2 of getvfsbyname(3) has wrong type Message-ID: <200306280038.h5S0c55b059487@korben.in.tern> Resent-Message-ID: <200306280130.h5S1U5Po068748@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 53863 >Category: bin >Synopsis: [PATCH] mount_smbfs: argument 2 of getvfsbyname(3) has wrong type >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jun 27 18:30:05 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Lukas Ertl >Release: FreeBSD 5.1-CURRENT i386 >Organization: Vienna University Computer Center >Environment: System: FreeBSD korben 5.1-CURRENT FreeBSD 5.1-CURRENT #15: Fri Jun 20 18:17:06 CEST 2003 le@korben:/usr/obj/usr/src/sys/KORBEN i386 >Description: mount_smbfs uses a 'struct vfsconf' to getvfsbyname(3) instead of a 'struct xvfsconf', thus giving a compiler warning. >How-To-Repeat: >Fix: --- mount_smbfs.diff begins here --- Index: contrib/smbfs/mount_smbfs/mount_smbfs.c =================================================================== RCS file: /usr/local/bsdcvs/src/contrib/smbfs/mount_smbfs/mount_smbfs.c,v retrieving revision 1.1.1.4 diff -u -r1.1.1.4 mount_smbfs.c --- contrib/smbfs/mount_smbfs/mount_smbfs.c 22 Apr 2002 16:15:20 -0000 1.1.1.4 +++ contrib/smbfs/mount_smbfs/mount_smbfs.c 28 Jun 2003 00:31:23 -0000 @@ -75,7 +75,7 @@ extern void dropsuid(); extern int loadsmbvfs(); #else - struct vfsconf vfc; + struct xvfsconf vfc; #endif /* APPLE */ char *next; int opt, error, mntflags, caseopt; --- mount_smbfs.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306280038.h5S0c55b059487>