summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-04-08 01:43:25 +0200
committerLennart Poettering <lennart@poettering.net>2010-04-08 01:43:25 +0200
commit113166332c2144816fd277c529033c6f06e104cf (patch)
treedb4dff915bf4062dd0f365d33a1f3ca93677d43a /util.c
parentc9af1080bc318f89238ff7fbe03134c25169a1bc (diff)
util: when reading a line from a file have space for at least 2k chars
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index a0f26762dc..69a26a2d08 100644
--- a/util.c
+++ b/util.c
@@ -412,7 +412,7 @@ finish:
int read_one_line_file(const char *fn, char **line) {
FILE *f;
int r;
- char t[64], *c;
+ char t[2048], *c;
assert(fn);
assert(line);