From 61e88ee49ade4fd8014bb11ca3166d93274c50e8 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Wed, 11 Jun 2014 15:23:39 +0200 Subject: Increase buffers for hotplug and cmdline for UML Thanks to Markus Stenberg for debugging and testing. Signed-off-by: Steven Barth --- initd/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'initd') diff --git a/initd/init.c b/initd/init.c index 7621b30..153b3c2 100644 --- a/initd/init.c +++ b/initd/init.c @@ -53,7 +53,7 @@ static struct sigaction sa_shutdown = { static void cmdline(void) { - char line[256]; + char line[1024]; int r, fd = open("/proc/cmdline", O_RDONLY); regex_t pat_cmdline; regmatch_t matches[2]; -- cgit v1.2.3