chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
socket: be a bit more verbose when refusing to start a socket unit
[elogind.git]
/
src
/
unit.c
diff --git
a/src/unit.c
b/src/unit.c
index 32071f21701c369b4df6bdaf793a7465704ea427..37a7c07ae8f0eb75b5ca2b57c9052fb450f84d0e 100644
(file)
--- a/
src/unit.c
+++ b/
src/unit.c
@@
-2152,7
+2152,7
@@
int unit_deserialize(Unit *u, FILE *f, FDSet *fds) {
return 0;
for (;;) {
- char line[
1024
], *l, *v;
+ char line[
LINE_MAX
], *l, *v;
size_t k;
if (!fgets(line, sizeof(line), f)) {