summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nanoklogd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nanoklogd.c b/nanoklogd.c
index f4388fe..3fe6216 100644
--- a/nanoklogd.c
+++ b/nanoklogd.c
@@ -23,7 +23,8 @@ static const struct {
 int
 main(int argc, char *argv[]) {
 	char buf[16384];
-	int f, l, start, stop;
+	int f, l, start;
+	int stop = 0;
 
 	f = socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0);
 	if (f < 0)