Fixed printf format errors.

This commit is contained in:
Bruce Evans 1998-06-28 19:45:13 +00:00
parent 7abda51bbc
commit ce79296f87
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=37238
2 changed files with 4 additions and 4 deletions

View File

@ -45,7 +45,7 @@ char copyright[] =
static char sccsid[] = "@(#)mount_umap.c 8.5 (Berkeley) 4/26/95";
*/
static const char rcsid[] =
"$Id: mount_umap.c,v 1.10 1997/03/11 12:39:32 peter Exp $";
"$Id: mount_umap.c,v 1.11 1997/03/29 03:32:47 imp Exp $";
#endif /* not lint */
#include <sys/param.h>
@ -197,7 +197,7 @@ main(argc, argv)
#endif /* MAPSECURITY */
if ((fscanf(gfp, "%d\n", &gnentries)) != 1)
errx(EX_DATAERR, "nentries not found%s", gmapfile, not);
errx(EX_DATAERR, "%s: nentries not found%s", gmapfile, not);
if (gnentries > MAPFILEENTRIES)
errx(EX_DATAERR,
"maximum number of entries is %d%s", GMAPFILEENTRIES, not);

View File

@ -45,7 +45,7 @@ char copyright[] =
static char sccsid[] = "@(#)mount_umap.c 8.5 (Berkeley) 4/26/95";
*/
static const char rcsid[] =
"$Id: mount_umap.c,v 1.10 1997/03/11 12:39:32 peter Exp $";
"$Id: mount_umap.c,v 1.11 1997/03/29 03:32:47 imp Exp $";
#endif /* not lint */
#include <sys/param.h>
@ -197,7 +197,7 @@ main(argc, argv)
#endif /* MAPSECURITY */
if ((fscanf(gfp, "%d\n", &gnentries)) != 1)
errx(EX_DATAERR, "nentries not found%s", gmapfile, not);
errx(EX_DATAERR, "%s: nentries not found%s", gmapfile, not);
if (gnentries > MAPFILEENTRIES)
errx(EX_DATAERR,
"maximum number of entries is %d%s", GMAPFILEENTRIES, not);