aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2016-01-19 18:26:41 -0600
committerRob Landley <rob@landley.net>2016-01-19 18:26:41 -0600
commite9dce28087997b633dd39e8907bf67629d24b899 (patch)
tree2559a5ce3fb6a6c27fee5a78016c2c8042536987 /lib
parentee660c977371b3bfc184f3ca3a6b1c84dcaa1686 (diff)
downloadtoybox-e9dce28087997b633dd39e8907bf67629d24b899.tar.gz
Another CFG_TOYBOX_DEBUG test.
Diffstat (limited to 'lib')
-rw-r--r--lib/getmountlist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/getmountlist.c b/lib/getmountlist.c
index 8fb43dc9..7a431010 100644
--- a/lib/getmountlist.c
+++ b/lib/getmountlist.c
@@ -13,6 +13,8 @@ void comma_args(struct arg_list *al, void *data, char *err,
char *next, *arg;
int len;
+ if (CFG_TOYBOX_DEBUG && !err) err = "INTERNAL";
+
while (al) {
arg = al->arg;
while ((next = comma_iterate(&arg, &len)))