From e6b8b91dcd38ebcfbb0d41753d814edf78b06989 Mon Sep 17 00:00:00 2001 From: PolarGo <33907525+PolarGo@users.noreply.github.com> Date: Thu, 23 Nov 2017 23:21:53 -0700 Subject: Update nanoklogd.c stop in undefined in line 41 without this change. --- nanoklogd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit 1.4.1