diff options
Diffstat (limited to 'utils/statd/sm-notify.c')
-rw-r--r-- | utils/statd/sm-notify.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/statd/sm-notify.c b/utils/statd/sm-notify.c index 98c03f9..bb67c37 100644 --- a/utils/statd/sm-notify.c +++ b/utils/statd/sm-notify.c @@ -86,7 +86,7 @@ static int addr_get_port(nsm_address *); static void addr_set_port(nsm_address *, int); static struct addrinfo *host_lookup(int, const char *); void nsm_log(int fac, const char *fmt, ...); -static int record_pid(); +static int record_pid(void); static void drop_privs(void); static void set_kernel_nsm_state(int state); @@ -730,7 +730,7 @@ nsm_log(int fac, const char *fmt, ...) * program exits. * If file already exists, fail. */ -static int record_pid() +static int record_pid(void) { char pid[20]; int fd; |