aboutsummaryrefslogtreecommitdiff
path: root/lib/args.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2007-01-31 14:37:01 -0500
committerRob Landley <rob@landley.net>2007-01-31 14:37:01 -0500
commitde05a7024f4be6826d05c40aa029fe2bbf6d2818 (patch)
treed4e96051360dd047d2fccbc6b4b1e6773b2c2199 /lib/args.c
parentbcfad872188d993efc8d1da4b79058b69e43f019 (diff)
downloadtoybox-de05a7024f4be6826d05c40aa029fe2bbf6d2818.tar.gz
Add "make defconfig". Modify global options to start with CONFIG_TOYBOX_.
Diffstat (limited to 'lib/args.c')
-rw-r--r--lib/args.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/args.c b/lib/args.c
index 9290293c..2c17951b 100644
--- a/lib/args.c
+++ b/lib/args.c
@@ -169,7 +169,8 @@ void get_optflags(void)
// Find the end of the longopt
for (end = ++options; *end && *end != ')'; end++);
- if (CFG_DEBUG && !*end) error_exit("Unterminated optstring");
+ if (CFG_TOYBOX_DEBUG && !*end)
+ error_exit("Unterminated optstring");
// Allocate and init a new struct longopts
lo = xmalloc(sizeof(struct longopts));