aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Polstra <jdp@FreeBSD.org>1998-03-08 23:57:00 +0000
committerJohn Polstra <jdp@FreeBSD.org>1998-03-08 23:57:00 +0000
commitfbc4f4fd316a8e766a4b3bed416af51b369a1d21 (patch)
tree54ccce9fbc3f24fbe3a9a66a391d711f78b68f81
parent748496456a86d200ad2d1fdbb5bc5fbe6b483d99 (diff)
downloadsrc-fbc4f4fd316a8e766a4b3bed416af51b369a1d21.tar.gz
src-fbc4f4fd316a8e766a4b3bed416af51b369a1d21.zip
Fix a type mismatch between a scanf format string and the
corresponding argument.
Notes
Notes: svn path=/head/; revision=34333
-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 5c4f1075aed8..1ec97c4ce209 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;
diff --git a/sbin/mount_ifs/mount_ufs.c b/sbin/mount_ifs/mount_ufs.c
index 5c4f1075aed8..1ec97c4ce209 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.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;