From fbc4f4fd316a8e766a4b3bed416af51b369a1d21 Mon Sep 17 00:00:00 2001 From: John Polstra Date: Sun, 8 Mar 1998 23:57:00 +0000 Subject: Fix a type mismatch between a scanf format string and the corresponding argument. --- sbin/mount/mount_ufs.c | 6 +++--- sbin/mount_ifs/mount_ufs.c | 6 +++--- 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; -- cgit v1.2.3