aboutsummaryrefslogtreecommitdiff
path: root/util-linux/getopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/getopt.c')
-rw-r--r--util-linux/getopt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util-linux/getopt.c b/util-linux/getopt.c
index 25eeab69b..e3b051388 100644
--- a/util-linux/getopt.c
+++ b/util-linux/getopt.c
@@ -37,7 +37,7 @@
37 * <misiek@misiek.eu.org>) 37 * <misiek@misiek.eu.org>)
38 * Ported to Busybox - Alfred M. Szmidt <ams@trillian.itslinux.org> 38 * Ported to Busybox - Alfred M. Szmidt <ams@trillian.itslinux.org>
39 * Removed --version/-V and --help/-h in 39 * Removed --version/-V and --help/-h in
40 * Removed prase_error(), using bb_error_msg() from Busybox instead 40 * Removed parse_error(), using bb_error_msg() from Busybox instead
41 * Replaced our_malloc with xmalloc and our_realloc with xrealloc 41 * Replaced our_malloc with xmalloc and our_realloc with xrealloc
42 * 42 *
43 */ 43 */
@@ -99,7 +99,7 @@ const char *normalize(const char *arg)
99 return BUFFER; 99 return BUFFER;
100 } 100 }
101 101
102 /* Each character in arg may take upto four characters in the result: 102 /* Each character in arg may take up to four characters in the result:
103 For a quote we need a closing quote, a backslash, a quote and an 103 For a quote we need a closing quote, a backslash, a quote and an
104 opening quote! We need also the global opening and closing quote, 104 opening quote! We need also the global opening and closing quote,
105 and one extra character for '\0'. */ 105 and one extra character for '\0'. */
@@ -278,7 +278,7 @@ void set_shell(const char *new_shell)
278 278
279 279
280/* Exit codes: 280/* Exit codes:
281 * 0) No errors, succesful operation. 281 * 0) No errors, successful operation.
282 * 1) getopt(3) returned an error. 282 * 1) getopt(3) returned an error.
283 * 2) A problem with parameter parsing for getopt(1). 283 * 2) A problem with parameter parsing for getopt(1).
284 * 3) Internal error, out of memory 284 * 3) Internal error, out of memory