Date: Sun, 8 Mar 1998 13:37:04 -0500 (EST) From: green@feldman.dyn.ml.org To: FreeBSD-gnats-submit@FreeBSD.ORG Cc: jkh@time.cdrom.com Subject: bin/5948: sbin/mount with default define is broken Message-ID: <199803081837.NAA10406@feldman.dyn.ml.org>
next in thread | raw e-mail | index | archive | help
>Number: 5948 >Category: bin >Synopsis: sbin/mount/mount_ufs.c needs to be patched; has errors >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Mar 8 10:40:01 PST 1998 >Last-Modified: >Originator: Brian Feldman >Organization: none >Release: FreeBSD 3.0-CURRENT i386 >Environment: Nothing special, recent CVSup of -CURRENT, as of last night. >Description: src/sbin/mount/mount_ufs.c has a few errors which need to be patched >How-To-Repeat: cd /usr/src/sbin/mount/ && make clean all >Fix: this patch needs to be applied: --- mount_ufs.c_old Sun Mar 8 13:25:13 1998 +++ mount_ufs.c Sun Mar 8 13:27:00 1998 @@ -84,7 +84,7 @@ struct vfsconf vfc; int error = 0; #ifdef ROOTSLICE_HUNT - int slice, part, result; + int slice, part, result, unit; char devbuf[MAXPATHLEN], devpfx[MAXPATHLEN]; #endif @@ -154,7 +154,7 @@ fs_name, devbuf); /* Try the mount as originally requested */ if ((result < 0) && - (mount(vfc.vfc_name, fs_name, mntflags, &args < 0)) { + (mount(vfc.vfc_name, fs_name, mntflags, &args) < 0)) { #else if (mount(vfc.vfc_name, fs_name, mntflags, &args) < 0) { #endif >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803081837.NAA10406>