diff options
author | Roy Marples <roy@marples.name> | 2008-04-30 16:33:54 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-04-30 16:33:54 +0000 |
commit | 5188fd25927598ee63e46d7ff15e67571b13dacb (patch) | |
tree | 931e0e027c1f1f0aaa6d58df65e8c3571857da42 /src/librc/librc-daemon.c | |
parent | 5b800030f11b78a73e65e06e858d22756f98d60f (diff) |
Wups, test compiles before commiting :)
Diffstat (limited to 'src/librc/librc-daemon.c')
-rw-r--r-- | src/librc/librc-daemon.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |