From: Jean-Philippe Orsini Date: Wed, 24 Sep 2014 10:42:03 +0000 (+0200) Subject: avoid to use 0 instead of NULL X-Git-Tag: v1.2.0~141 X-Git-Url: http://git.wpitchoune.net/gitweb/?p=psensor.git;a=commitdiff_plain;h=8d7731e4dbc4eab6663bc591bada0c9f731a7832 avoid to use 0 instead of NULL --- diff --git a/src/lib/slog.c b/src/lib/slog.c index 5e3b6f8..d6c4bc2 100644 --- a/src/lib/slog.c +++ b/src/lib/slog.c @@ -176,7 +176,7 @@ static void *slog_routine(void *data) sleep(period); } - pthread_exit(0); + pthread_exit(NULL); } void slog_close(void)