diff options
author | steve <steve@FreeBSD.org> | 1998-03-08 19:03:05 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1998-03-08 19:03:05 +0000 |
commit | 8b8e3127e97cfd88fd932bfb753d4833e94a54c5 (patch) | |
tree | f9fcf7d599e4094da0ed2b4ba4a9203153a4e6f4 /sbin/mount | |
parent | af690687d23058e103e840fdd64bda6856b313bc (diff) | |
download | FreeBSD-src-8b8e3127e97cfd88fd932bfb753d4833e94a54c5.zip FreeBSD-src-8b8e3127e97cfd88fd932bfb753d4833e94a54c5.tar.gz |
Make this compile again.
PR: 5948
Submitted by: Brian Feldman
Diffstat (limited to 'sbin/mount')
-rw-r--r-- | sbin/mount/mount_ufs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/mount/mount_ufs.c b/sbin/mount/mount_ufs.c index cefdd96..5c4f107 100644 --- a/sbin/mount/mount_ufs.c +++ b/sbin/mount/mount_ufs.c @@ -42,7 +42,7 @@ static const char copyright[] = static char sccsid[] = "@(#)mount_ufs.c 8.4 (Berkeley) 4/26/95"; #else static const char rcsid[] = - "$Id: mount_ufs.c,v 1.10 1997/08/25 21:14:22 bde Exp $"; + "$Id: mount_ufs.c,v 1.11 1998/03/08 14:50:04 msmith Exp $"; #endif #endif /* not lint */ @@ -84,7 +84,7 @@ mount_ufs(argc, argv) 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 @@ mount_ufs(argc, argv) 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 |