summaryrefslogtreecommitdiff
path: root/util/kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'util/kconfig')
-rw-r--r--util/kconfig/toada.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/util/kconfig/toada.c b/util/kconfig/toada.c
index 02b6351c5d..b5312963c5 100644
--- a/util/kconfig/toada.c
+++ b/util/kconfig/toada.c
@@ -4,6 +4,7 @@
#include <stdio.h>
#include <string.h>
#include <stdbool.h>
+#include <stdlib.h>
static void print_bool(const char *const name, const bool val)
{
@@ -107,8 +108,9 @@ int main(int argc, char *argv[])
print_dec(name, val);
} else {
fprintf(stderr,
- "couldn't parse value '%s' for '%s'\n",
+ "toada: Error: Couldn't parse value '%s' for '%s'\n",
val, name);
+ exit(1);
}
continue;
default: