mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
libdevmapper-event: correct switch break
Replace 'continue' within 'switch' statement with correct break.
This commit is contained in:
parent
aafa22e643
commit
d58a2644e6
@ -517,7 +517,7 @@ static int _start_daemon(char *dmeventd_path, struct dm_event_fifos *fifos)
|
|||||||
switch (_check_for_usable_fifos(dmeventd_path, fifos)) {
|
switch (_check_for_usable_fifos(dmeventd_path, fifos)) {
|
||||||
case 0: return_0;
|
case 0: return_0;
|
||||||
case 1: return 1;
|
case 1: return 1;
|
||||||
case 2: usleep(1000); continue;
|
case 2: usleep(1000); break;
|
||||||
}
|
}
|
||||||
/* ret == 0 */
|
/* ret == 0 */
|
||||||
log_error("Dmeventd is not serving fifos.");
|
log_error("Dmeventd is not serving fifos.");
|
||||||
|
Loading…
Reference in New Issue
Block a user