aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2016-01-01 22:38:50 +0100
committerMattias Andrée <maandree@member.fsf.org>2016-01-01 22:38:50 +0100
commit6ffcfe4f585efcc27499257110abd51d5e52302d (patch)
tree77524484ac62f6dcb762c07afdb5945f6909d2fa
parentmassive simpliciation and small bug fixes (not tested yet) (diff)
downloadsat-6ffcfe4f585efcc27499257110abd51d5e52302d.tar.gz
sat-6ffcfe4f585efcc27499257110abd51d5e52302d.tar.bz2
sat-6ffcfe4f585efcc27499257110abd51d5e52302d.tar.xz
typo
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-rw-r--r--src/satd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/satd.c b/src/satd.c
index 6845fff..69861e9 100644
--- a/src/satd.c
+++ b/src/satd.c
@@ -63,7 +63,7 @@ create_lock(void)
/* Store PID in the file. */
/* Yes it is coming similar to a PID file, but this works if the started with -f. */
- t (pwrite(fd, &pid, sizeof(pid), (off_t)0) < (size_t)sizeof(pid));
+ t (pwrite(fd, &pid, sizeof(pid), (off_t)0) < (ssize_t)sizeof(pid));
goto done;
fail: