Add missing argument detected by "-Wformat".
This commit is contained in:
parent
6245570f67
commit
14b94d0464
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=31214
@ -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)
|
||||
{
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user