summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ctm/ctm_rmail/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ctm/ctm_rmail/options.h')
-rw-r--r--usr.sbin/ctm/ctm_rmail/options.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/usr.sbin/ctm/ctm_rmail/options.h b/usr.sbin/ctm/ctm_rmail/options.h
index 18b844c..5c8dd94 100644
--- a/usr.sbin/ctm/ctm_rmail/options.h
+++ b/usr.sbin/ctm/ctm_rmail/options.h
@@ -48,6 +48,8 @@
*
* Based on recollection of the original options.h produced at the University
* of Queensland by Ross Patterson (and possibly others).
+ *
+ * $FreeBSD$
*/
static char *O_usage;
@@ -60,11 +62,11 @@ pusage()
/*
* Avoid gratuitously loading stdio.
*/
- write(2, "Usage: ", 7);
- write(2, O_name, strlen(O_name));
- write(2, " ", 1);
- write(2, O_usage, strlen(O_usage));
- write(2, "\n", 1);
+ write(STDERR_FILENO, "Usage: ", 7);
+ write(STDERR_FILENO, O_name, strlen(O_name));
+ write(STDERR_FILENO, " ", 1);
+ write(STDERR_FILENO, O_usage, strlen(O_usage));
+ write(STDERR_FILENO, "\n", 1);
}
#define usage() (pusage(), exit(1))
OpenPOWER on IntegriCloud