Add missing argument detected by "-Wformat".

This commit is contained in:
John Polstra 1997-11-18 03:37:45 +00:00
parent 6245570f67
commit 14b94d0464
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=31214
3 changed files with 7 additions and 5 deletions

View File

@ -1251,7 +1251,7 @@ format_and_display (path, man_file, cat_file)
{
status = is_newer (man_file, cat_file);
if (debug)
fprintf (stderr, "status from is_newer() = %d\n");
fprintf (stderr, "status from is_newer() = %d\n", status);
if (status == 1 || status == -2)
{

View File

@ -42,7 +42,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)from: sysctl.c 8.1 (Berkeley) 6/6/93";
#endif
static const char rcsid[] =
"$Id$";
"$Id: sysctl.c,v 1.15 1997/10/20 12:53:54 charnier Exp $";
#endif /* not lint */
#include <sys/types.h>
@ -179,7 +179,8 @@ parse(char *string)
break;
default:
errx(1, "oid '%s' is type %d,"
" cannot set that", bufp);
" cannot set that", bufp,
kind & CTLTYPE);
}
i = show_var(mib, len);

View File

@ -42,7 +42,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)from: sysctl.c 8.1 (Berkeley) 6/6/93";
#endif
static const char rcsid[] =
"$Id$";
"$Id: sysctl.c,v 1.15 1997/10/20 12:53:54 charnier Exp $";
#endif /* not lint */
#include <sys/types.h>
@ -179,7 +179,8 @@ parse(char *string)
break;
default:
errx(1, "oid '%s' is type %d,"
" cannot set that", bufp);
" cannot set that", bufp,
kind & CTLTYPE);
}
i = show_var(mib, len);