summaryrefslogtreecommitdiff
path: root/src/mount-setup.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-04-07 18:48:50 +0200
committerLennart Poettering <lennart@poettering.net>2011-04-07 18:48:50 +0200
commit20c03b7be2c87ef54533db849fd046d7014c36b4 (patch)
tree3fedf87ba7ae3bda4ba6649cd84095c884d88322 /src/mount-setup.c
parentf68319bbb8e95e6afa5793834668b5c094616249 (diff)
don't make up buffer sizes, use standard LINE_MAX instead
Diffstat (limited to 'src/mount-setup.c')
-rw-r--r--src/mount-setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mount-setup.c b/src/mount-setup.c
index 9bc8946dba..4fa8ae5fba 100644
--- a/src/mount-setup.c
+++ b/src/mount-setup.c
@@ -134,7 +134,7 @@ static int mount_one(const MountPoint *p) {
static int mount_cgroup_controllers(void) {
int r;
FILE *f;
- char buf [256];
+ char buf[LINE_MAX];
/* Mount all available cgroup controllers that are built into the kernel. */