summaryrefslogtreecommitdiff
path: root/usr.bin/fmt/fmt.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2012-01-15 11:43:46 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2012-01-15 11:43:46 +0000
commita8dacf6f0c85b10ae9582a003ed02b9b02bbc3cb (patch)
treee37b59af56468fad93810565393b003c170ab430 /usr.bin/fmt/fmt.c
parent8d797000595b2261ba19b46f3d940b0cae9dac4c (diff)
Document the EXIT STATUS and remove an outdated related comment.
While here, * as usual, the "first appeared" clause requires fixing, and * mention the date of the original implementation, using information from the CSRG archive CD 1. Triggered by a question asked by lum@, feedback and ok jmc@.
Diffstat (limited to 'usr.bin/fmt/fmt.c')
-rw-r--r--usr.bin/fmt/fmt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/fmt/fmt.c b/usr.bin/fmt/fmt.c
index 1ce6f7e05f0..40aa65edc12 100644
--- a/usr.bin/fmt/fmt.c
+++ b/usr.bin/fmt/fmt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fmt.c,v 1.27 2009/10/27 23:59:38 deraadt Exp $ */
+/* $OpenBSD: fmt.c,v 1.28 2012/01/15 11:43:45 schwarze Exp $ */
/* Sensible version of fmt
*
@@ -221,7 +221,7 @@ static const char *sentence_enders = ".?!"; /* Double-space after these */
static int grok_mail_headers = 0; /* treat embedded mail headers magically? */
static int format_troff = 0; /* Format troff? */
-static int n_errors = 0; /* Number of failed files. Return on exit. */
+static int n_errors = 0; /* Number of failed files. */
static char *output_buffer = NULL; /* Output line will be built here */
static size_t x; /* Horizontal position in output line */
static size_t x0; /* Ditto, ignoring leading whitespace */