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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/getopt.c b/util-linux/getopt.c
index a4968b72e..02bb218b3 100644
--- a/util-linux/getopt.c
+++ b/util-linux/getopt.c
@@ -184,7 +184,7 @@ enum { LONG_OPTIONS_INCR = 10 };
184#define init_longopt() add_longopt(NULL,0) 184#define init_longopt() add_longopt(NULL,0)
185 185
186/* Register a long option. The contents of name is copied. */ 186/* Register a long option. The contents of name is copied. */
187void add_longopt(const char *name,int has_arg) 187void add_longopt(const char *name, int has_arg)
188{ 188{
189 if (!name) { /* init */ 189 if (!name) { /* init */
190 free(long_options); 190 free(long_options);