Wups, test compiles before commiting :)

This commit is contained in:
Roy Marples 2008-04-30 16:33:54 +00:00
parent 5b800030f1
commit 5188fd2592

View File

@ -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);