diff options
author | Steven Barth <steven@midlink.org> | 2014-06-11 15:23:39 +0200 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2014-06-11 15:23:39 +0200 |
commit | 61e88ee49ade4fd8014bb11ca3166d93274c50e8 (patch) | |
tree | b75a65944c4976f0c1951cf5a721e16c3a860f3b /initd | |
parent | b76eda6cd8ba061f49af4074838e6a42ae94144c (diff) | |
download | unitd-61e88ee49ade4fd8014bb11ca3166d93274c50e8.tar unitd-61e88ee49ade4fd8014bb11ca3166d93274c50e8.zip |
Increase buffers for hotplug and cmdline for UML
Thanks to Markus Stenberg for debugging and testing.
Signed-off-by: Steven Barth <steven@midlink.org>
Diffstat (limited to 'initd')
-rw-r--r-- | initd/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]; |