From 5188fd25927598ee63e46d7ff15e67571b13dacb Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 30 Apr 2008 16:33:54 +0000 Subject: Wups, test compiles before commiting :) --- src/librc/librc-daemon.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/librc/librc-daemon.c b/src/librc/librc-daemon.c index 98744e1e..ddee0342 100644 --- a/src/librc/librc-daemon.c +++ b/src/librc/librc-daemon.c @@ -82,8 +82,9 @@ static bool pid_is_cmd(pid_t pid, const char *cmd) static bool pid_is_exec(pid_t pid, const char *const *argv) { char cmdline[32]; - char buffer[PATH_MAX]; int fd; + char buffer[PATH_MAX]; + char *p; ssize_t bytes; snprintf(cmdline, sizeof(cmdline), "/proc/%u/cmdline", pid); -- cgit v1.2.3