Add missing argument detected by "-Wformat". Make messages more

consistent.
This commit is contained in:
John Polstra 1997-11-18 03:50:25 +00:00
parent 24032eebaf
commit 8f10c09860
2 changed files with 6 additions and 6 deletions

View File

@ -42,7 +42,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)gcore.c 8.2 (Berkeley) 9/23/93";
#endif
static const char rcsid[] =
"$Id$";
"$Id: gcore.c,v 1.6 1997/07/08 11:04:17 charnier Exp $";
#endif /* not lint */
/*
@ -141,9 +141,9 @@ main(argc, argv)
errx(1, "%d: zombie", pid);
if (p->p_flag & P_WEXIT)
errx(1, "process exiting");
errx(1, "%d: process exiting", pid);
if (p->p_flag & P_SYSTEM) /* Swapper or pagedaemon. */
errx(1, "%d: system process");
errx(1, "%d: system process", pid);
if (corefile == NULL) {
(void)snprintf(fname, sizeof(fname), "core.%d", pid);

View File

@ -42,7 +42,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)gcore.c 8.2 (Berkeley) 9/23/93";
#endif
static const char rcsid[] =
"$Id$";
"$Id: gcore.c,v 1.6 1997/07/08 11:04:17 charnier Exp $";
#endif /* not lint */
/*
@ -141,9 +141,9 @@ main(argc, argv)
errx(1, "%d: zombie", pid);
if (p->p_flag & P_WEXIT)
errx(1, "process exiting");
errx(1, "%d: process exiting", pid);
if (p->p_flag & P_SYSTEM) /* Swapper or pagedaemon. */
errx(1, "%d: system process");
errx(1, "%d: system process", pid);
if (corefile == NULL) {
(void)snprintf(fname, sizeof(fname), "core.%d", pid);