diff options
author | Sheldon Hearn <sheldonh@FreeBSD.org> | 2001-07-26 11:02:39 +0000 |
---|---|---|
committer | Sheldon Hearn <sheldonh@FreeBSD.org> | 2001-07-26 11:02:39 +0000 |
commit | e1b4d8d0746069292d84708b0e11b17a7e1ef5e0 (patch) | |
tree | bd2ac2627dbeab7d3427432bb98d2c73085b61c1 /usr.sbin/ctm | |
parent | 8155f5e200803441caa6e1bba5d9fa1f836d232f (diff) | |
download | src-test2-e1b4d8d0746069292d84708b0e11b17a7e1ef5e0.tar.gz src-test2-e1b4d8d0746069292d84708b0e11b17a7e1ef5e0.zip |
Notes
Diffstat (limited to 'usr.sbin/ctm')
-rw-r--r-- | usr.sbin/ctm/ctm_rmail/options.h | 12 |
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 18b844cebf5d..5c8dd94789fe 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)) |