Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/gcore usage(): print newline, and use [<pid> ...]



details:   https://anonhg.NetBSD.org/src/rev/31b6a1d4eb99
branches:  trunk
changeset: 542198:31b6a1d4eb99
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Thu Jan 23 18:18:49 2003 +0000

description:
usage(): print newline, and use [<pid> ...]

diffstat:

 usr.bin/gcore/gcore.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 59152b9e163d -r 31b6a1d4eb99 usr.bin/gcore/gcore.c
--- a/usr.bin/gcore/gcore.c     Thu Jan 23 17:52:14 2003 +0000
+++ b/usr.bin/gcore/gcore.c     Thu Jan 23 18:18:49 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gcore.c,v 1.4 2003/01/23 17:34:50 christos Exp $       */
+/*     $NetBSD: gcore.c,v 1.5 2003/01/23 18:18:49 jdolecek Exp $       */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: gcore.c,v 1.4 2003/01/23 17:34:50 christos Exp $");
+__RCSID("$NetBSD: gcore.c,v 1.5 2003/01/23 18:18:49 jdolecek Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -57,7 +57,7 @@
 static void
 usage(void)
 {
-       (void)fprintf(stderr, "Usage: %s <pid> [...<pid>]", getprogname());
+       (void)fprintf(stderr, "Usage: %s <pid> [<pid> ...]\n", getprogname());
        exit(1);
 }
 



Home | Main Index | Thread Index | Old Index