aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-base.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-08-23 16:22:02 +0200
committerMattias Andrée <maandree@operamail.com>2014-08-23 16:22:02 +0200
commite5bf09312ff335b3e5ad7c9b2980a8e5afe62bae (patch)
treeb46cc93d3930fdc3c2d87418f13c883c3dfbcc07 /src/mds-base.c
parentm (diff)
downloadmds-e5bf09312ff335b3e5ad7c9b2980a8e5afe62bae.tar.gz
mds-e5bf09312ff335b3e5ad7c9b2980a8e5afe62bae.tar.bz2
mds-e5bf09312ff335b3e5ad7c9b2980a8e5afe62bae.tar.xz
full_read returns length
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/mds-base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mds-base.c b/src/mds-base.c
index dd72081..672a1d5 100644
--- a/src/mds-base.c
+++ b/src/mds-base.c
@@ -363,7 +363,7 @@ static int base_unmarshal(void)
fail_if (reexec_fd < 0); /* Critical. */
/* Read the state file. */
- fail_if ((state_buf = state_buf_ = full_read(reexec_fd)) == NULL);
+ fail_if ((state_buf = state_buf_ = full_read(reexec_fd, NULL)) == NULL);
/* Release resources. */
close(reexec_fd);