diff options
Diffstat (limited to 'src/util/server.c')
-rw-r--r-- | src/util/server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/server.c b/src/util/server.c index 9d3c9cb04..a33207b3d 100644 --- a/src/util/server.c +++ b/src/util/server.c @@ -147,7 +147,7 @@ int pidfile(const char *path, const char *name) int fd; int ret, err; ssize_t len; - ssize_t size; + size_t size; ssize_t written; ssize_t pidlen = sizeof(pid_str) - 1; @@ -227,7 +227,7 @@ int pidfile(const char *path, const char *name) if (written != size) { DEBUG(SSSDBG_CRIT_FAILURE, - ("Wrote %d bytes expected %d\n", written, size)); + ("Wrote %zd bytes expected %zu\n", written, size)); close(fd); return EIO; } |