summaryrefslogtreecommitdiffstats
path: root/sbin/mount
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1998-03-08 23:57:00 +0000
committerjdp <jdp@FreeBSD.org>1998-03-08 23:57:00 +0000
commitbf11b7e2415375c65928c429d94cfd313564963c (patch)
treeb00f3ae1a8045946bc27f539651d612ef5e370b1 /sbin/mount
parent762d9b5e3c9d6366ceecb4fa154a06b0584be3a1 (diff)
downloadFreeBSD-src-bf11b7e2415375c65928c429d94cfd313564963c.zip
FreeBSD-src-bf11b7e2415375c65928c429d94cfd313564963c.tar.gz
Fix a type mismatch between a scanf format string and the
corresponding argument.
Diffstat (limited to 'sbin/mount')
-rw-r--r--sbin/mount/mount_ufs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/mount/mount_ufs.c b/sbin/mount/mount_ufs.c
index 5c4f107..1ec97c4 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.11 1998/03/08 14:50:04 msmith Exp $";
+ "$Id: mount_ufs.c,v 1.12 1998/03/08 19:03:05 steve Exp $";
#endif
#endif /* not lint */
@@ -84,8 +84,8 @@ mount_ufs(argc, argv)
struct vfsconf vfc;
int error = 0;
#ifdef ROOTSLICE_HUNT
- int slice, part, result, unit;
- char devbuf[MAXPATHLEN], devpfx[MAXPATHLEN];
+ int slice, result, unit;
+ char part, devbuf[MAXPATHLEN], devpfx[MAXPATHLEN];
#endif
mntflags = 0;
OpenPOWER on IntegriCloud