summaryrefslogtreecommitdiff
path: root/source4/lib/pidfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/pidfile.c')
-rw-r--r--source4/lib/pidfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/pidfile.c b/source4/lib/pidfile.c
index ff05c0606e..b1866ee6af 100644
--- a/source4/lib/pidfile.c
+++ b/source4/lib/pidfile.c
@@ -44,7 +44,7 @@ pid_t pidfile_pid(const char *name)
return 0;
}
- ZERO_ARRAY(pidstr);
+ ZERO_STRUCT(pidstr);
if (read(fd, pidstr, sizeof(pidstr)-1) <= 0) {
goto noproc;