summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/librc/librc-daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librc/librc-daemon.c b/src/librc/librc-daemon.c
index f8134b5..e1f3221 100644
--- a/src/librc/librc-daemon.c
+++ b/src/librc/librc-daemon.c
@@ -84,7 +84,7 @@ static bool pid_is_exec(pid_t pid, const char *const *argv)
char cmdline[32];
char buffer[PATH_MAX];
char *p;
- int fd = -1;
+ int fd;
int r;
/* Check it's the right binary */