aboutsummaryrefslogtreecommitdiff
path: root/arch/um/kernel/config.c.in
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/kernel/config.c.in')
-rw-r--r--arch/um/kernel/config.c.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/um/kernel/config.c.in b/arch/um/kernel/config.c.in
index c062cbfe386..bee154d1ba7 100644
--- a/arch/um/kernel/config.c.in
+++ b/arch/um/kernel/config.c.in
@@ -7,11 +7,15 @@
#include <stdlib.h>
#include "init.h"
-static __initdata char *config = "CONFIG";
+static __initdata const char *config[] = {
+"CONFIG"
+};
static int __init print_config(char *line, int *add)
{
- printf("%s", config);
+ int i;
+ for (i = 0; i < sizeof(config)/sizeof(config[0]); i++)
+ printf("%s", config[i]);
exit(0);
}