summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr/src/cmd/zonestat/zonestat/zonestat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/cmd/zonestat/zonestat/zonestat.c b/usr/src/cmd/zonestat/zonestat/zonestat.c
index fac6f97371..358c31c4fa 100644
--- a/usr/src/cmd/zonestat/zonestat/zonestat.c
+++ b/usr/src/cmd/zonestat/zonestat/zonestat.c
@@ -292,7 +292,7 @@ zonestat_usage(boolean_t explicit)
" Name of a zone using dedicated-cpu\n"),
"-z", "-n",
ZONESTAT_NAME_MEM_DEFAULT, ZONESTAT_NAME_VM_DEFAULT);
- (void) printf(gettext(
+ (void) fprintf(fd, gettext(
" %s Print timestamp. Valid timestamps are:\n"
" \"%s\"\tDate as specifed by date(1) command\n"
" \"%s\"\tUnix time as returned by time(2)\n"
@@ -309,7 +309,7 @@ zonestat_usage(boolean_t explicit)
ZONESTAT_NAME_HIGH,
"-q", "-p");
- (void) printf(gettext(
+ (void) fprintf(fd, gettext(
" %s Select desired lines in parseable output.\n"
" \"%s\"\tLines describing each resource\n"
" \"%s\"\tTotal usage of each resource\n"
@@ -319,7 +319,7 @@ zonestat_usage(boolean_t explicit)
"-P", ZONESTAT_NAME_RESOURCE, ZONESTAT_NAME_TOTAL,
ZONESTAT_NAME_SYSTEM, ZONESTAT_NAME_ZONES, ZONESTAT_NAME_HEADER);
- (void) printf(gettext(
+ (void) fprintf(fd, gettext(
" %s Sort output by the specified columns:\n"
" \"%s\"\tby name alphanumerically\n"
" \"%s\"\tby percent of resource used\n"