summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-05-26 03:08:04 +0000
committerMiles Bader <miles@gnu.org>1997-05-26 03:08:04 +0000
commit2e8c8ad17d3a6e063a63fbbb5d51ad151df3182f (patch)
tree0c8ea4b4b2ee86cbb0904754c2b3af60f1645f45
parentc8b74ebda19c1daa014d8a12bc58d18ddca0a2d6 (diff)
(parser_init):
Replace references to STATE->argp with STATE->root_argp.
-rw-r--r--libshouldbeinlibc/argp-parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libshouldbeinlibc/argp-parse.c b/libshouldbeinlibc/argp-parse.c
index 582d1029..0382fd4e 100644
--- a/libshouldbeinlibc/argp-parse.c
+++ b/libshouldbeinlibc/argp-parse.c
@@ -526,7 +526,7 @@ parser_init (struct parser *parser, const struct argp *argp,
parser_convert (parser, argp, flags);
memset (&parser->state, 0, sizeof (struct argp_state));
- parser->state.argp = parser->argp;
+ parser->state.root_argp = parser->argp;
parser->state.argc = argc;
parser->state.argv = argv;
parser->state.flags = flags;