Fix a type mismatch between a scanf format string and the

corresponding argument.
This commit is contained in:
John Polstra 1998-03-08 23:57:00 +00:00
parent 748496456a
commit fbc4f4fd31
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=34333
2 changed files with 6 additions and 6 deletions

View File

@ -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;

View File

@ -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;