diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-08-23 16:22:02 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-08-23 16:22:02 +0200 |
commit | e5bf09312ff335b3e5ad7c9b2980a8e5afe62bae (patch) | |
tree | b46cc93d3930fdc3c2d87418f13c883c3dfbcc07 /src/mds-base.c | |
parent | m (diff) | |
download | mds-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.c | 2 |
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); |