summaryrefslogtreecommitdiffstats
path: root/usr.sbin/fwcontrol/fwcontrol.c
diff options
context:
space:
mode:
authorsimokawa <simokawa@FreeBSD.org>2003-01-24 03:40:36 +0000
committersimokawa <simokawa@FreeBSD.org>2003-01-24 03:40:36 +0000
commit69a1f95c2473a07e06df88097a8507ac4126a88a (patch)
tree443079507a8fdc28b385d8a51512054c06966185 /usr.sbin/fwcontrol/fwcontrol.c
parent40a28ce162f2f5489da591f9677a61d3475eb1f6 (diff)
downloadFreeBSD-src-69a1f95c2473a07e06df88097a8507ac4126a88a.zip
FreeBSD-src-69a1f95c2473a07e06df88097a8507ac4126a88a.tar.gz
Use stderr for message output.
Diffstat (limited to 'usr.sbin/fwcontrol/fwcontrol.c')
-rw-r--r--usr.sbin/fwcontrol/fwcontrol.c22
1 files changed, 12 insertions, 10 deletions
diff --git a/usr.sbin/fwcontrol/fwcontrol.c b/usr.sbin/fwcontrol/fwcontrol.c
index fe13a2c..08e0a55 100644
--- a/usr.sbin/fwcontrol/fwcontrol.c
+++ b/usr.sbin/fwcontrol/fwcontrol.c
@@ -56,17 +56,19 @@ extern int dvsend(int, char *, char, int);
static void
usage(void)
{
- printf("fwcontrol [-g gap_count] [-b pri_req] [-c node]"
+ fprintf(stderr, "fwcontrol [-g gap_count] [-b pri_req] [-c node]"
" [-r] [-t] [-d node] [-l file] [-R file] [-S file]\n");
- printf("\t-g: broadcast gap_count by phy_config packet\n");
- printf("\t-b: set PRIORITY_BUDGET register on all supported nodes\n");
- printf("\t-c: read configuration ROM\n");
- printf("\t-r: bus reset\n");
- printf("\t-t: read topology map\n");
- printf("\t-d: hex dump of configuration ROM\n");
- printf("\t-l: load and parse hex dump file of configuration ROM\n");
- printf("\t-R: Receive DV stream\n");
- printf("\t-S: Send DV stream\n");
+ fprintf(stderr, "\t-g: broadcast gap_count by phy_config packet\n");
+ fprintf(stderr,
+ "\t-b: set PRIORITY_BUDGET register on all supported nodes\n");
+ fprintf(stderr, "\t-c: read configuration ROM\n");
+ fprintf(stderr, "\t-r: bus reset\n");
+ fprintf(stderr, "\t-t: read topology map\n");
+ fprintf(stderr, "\t-d: hex dump of configuration ROM\n");
+ fprintf(stderr,
+ "\t-l: load and parse hex dump file of configuration ROM\n");
+ fprintf(stderr, "\t-R: Receive DV stream\n");
+ fprintf(stderr, "\t-S: Send DV stream\n");
exit(0);
}
OpenPOWER on IntegriCloud