diff options
author | John Polstra <jdp@FreeBSD.org> | 1997-11-18 03:50:25 +0000 |
---|---|---|
committer | John Polstra <jdp@FreeBSD.org> | 1997-11-18 03:50:25 +0000 |
commit | 8f10c0986059a49748dd56c3555d619c59ff1213 (patch) | |
tree | 0c1db3e052a504a69cd4f909b979114a671b6649 /usr.bin/gcore | |
parent | 24032eebaf44d0d0ebcad6b5b2bb475710557fd7 (diff) | |
download | src-8f10c0986059a49748dd56c3555d619c59ff1213.tar.gz src-8f10c0986059a49748dd56c3555d619c59ff1213.zip |
Add missing argument detected by "-Wformat". Make messages more
consistent.
Notes
Notes:
svn path=/head/; revision=31218
Diffstat (limited to 'usr.bin/gcore')
-rw-r--r-- | usr.bin/gcore/aoutcore.c | 6 | ||||
-rw-r--r-- | usr.bin/gcore/gcore.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/gcore/aoutcore.c b/usr.bin/gcore/aoutcore.c index a40feff8bd8c..3f8ccb969ef5 100644 --- a/usr.bin/gcore/aoutcore.c +++ b/usr.bin/gcore/aoutcore.c @@ -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); diff --git a/usr.bin/gcore/gcore.c b/usr.bin/gcore/gcore.c index a40feff8bd8c..3f8ccb969ef5 100644 --- a/usr.bin/gcore/gcore.c +++ b/usr.bin/gcore/gcore.c @@ -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); |