summaryrefslogtreecommitdiff
path: root/src/daemon/dlt_daemon_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/dlt_daemon_common.h')
-rw-r--r--src/daemon/dlt_daemon_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/dlt_daemon_common.h b/src/daemon/dlt_daemon_common.h
index f650ce3..1a07491 100644
--- a/src/daemon/dlt_daemon_common.h
+++ b/src/daemon/dlt_daemon_common.h
@@ -99,7 +99,7 @@ extern "C" {
#define DLT_DAEMON_SEM_LOCK() do{\
while ((sem_wait(&dlt_daemon_mutex) == -1) && (errno == EINTR)) \
continue; /* Restart if interrupted */ \
- } while(0)
+ } while(false)
#define DLT_DAEMON_SEM_FREE() { sem_post(&dlt_daemon_mutex); }
extern sem_t dlt_daemon_mutex;