aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-03-08 19:03:05 +0000
committerSteve Price <steve@FreeBSD.org>1998-03-08 19:03:05 +0000
commit227776616a6d9a44e9fd65f7066187747ce71e1e (patch)
tree82130434ad93b707c73364dd9c49b5a313393cf6
parentbe01eafd5f9d5113bd5f444ae6eb1d7c5748ab9b (diff)
downloadsrc-227776616a6d9a44e9fd65f7066187747ce71e1e.tar.gz
src-227776616a6d9a44e9fd65f7066187747ce71e1e.zip
Make this compile again.
PR: 5948 Submitted by: Brian Feldman
Notes
Notes: svn path=/head/; revision=34322
-rw-r--r--sbin/mount/mount_ufs.c6
-rw-r--r--sbin/mount_ifs/mount_ufs.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/sbin/mount/mount_ufs.c b/sbin/mount/mount_ufs.c
index cefdd9665d76..5c4f1075aed8 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
diff --git a/sbin/mount_ifs/mount_ufs.c b/sbin/mount_ifs/mount_ufs.c
index cefdd9665d76..5c4f1075aed8 100644
--- a/sbin/mount_ifs/mount_ufs.c
+++ b/sbin/mount_ifs/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