From d58a2644e6968174b2b05c9913bd9b273f865a0f Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Mon, 13 May 2024 17:04:48 +0200 Subject: [PATCH] libdevmapper-event: correct switch break Replace 'continue' within 'switch' statement with correct break. --- daemons/dmeventd/libdevmapper-event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemons/dmeventd/libdevmapper-event.c b/daemons/dmeventd/libdevmapper-event.c index c9cd5fca6..c47bd5acd 100644 --- a/daemons/dmeventd/libdevmapper-event.c +++ b/daemons/dmeventd/libdevmapper-event.c @@ -517,7 +517,7 @@ static int _start_daemon(char *dmeventd_path, struct dm_event_fifos *fifos) switch (_check_for_usable_fifos(dmeventd_path, fifos)) { case 0: return_0; case 1: return 1; - case 2: usleep(1000); continue; + case 2: usleep(1000); break; } /* ret == 0 */ log_error("Dmeventd is not serving fifos.");