From 50d89b51a8ba0a6ebc820e7a9d2bc4da52f458dd Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Sun, 28 Jun 2015 11:52:54 +0200 Subject: [PATCH] dloader: Bump the max. line length in includes (e.g. loader.conf) to 1024. Some ACPICA debugging settings (such as a lists of layers and levels for debug.acpi.layer and debug.acpi.level, see acpi(4)) can easily get longer than 256. Another likely candidate are hw.acpi.{install,remove}_interface. --- sys/boot/common/do_dloader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/boot/common/do_dloader.c b/sys/boot/common/do_dloader.c index 20c0585e8f..d57035e09c 100644 --- a/sys/boot/common/do_dloader.c +++ b/sys/boot/common/do_dloader.c @@ -211,7 +211,7 @@ int include(const char *filename) { struct includeline *script, *se, *sp; - char input[256]; /* big enough? */ + char input[1024]; /* big enough? */ int argc,res; char **argv, *cp; int fd, flags, line; -- 2.41.0