From ae2b00416589dfe798fc40f0575f62a0c664798f Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Wed, 18 Jul 2012 11:15:10 +0200 Subject: [PATCH] Daemon: Let daemon actions be numbered from 1 This way, 0 can be used as "undefined". --- ucw/daemon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ucw/daemon.h b/ucw/daemon.h index dc2fd746..47a0c1e9 100644 --- a/ucw/daemon.h +++ b/ucw/daemon.h @@ -65,7 +65,7 @@ struct daemon_control_params { }; enum daemon_control_action { - DAEMON_CONTROL_CHECK, + DAEMON_CONTROL_CHECK = 1, DAEMON_CONTROL_START, DAEMON_CONTROL_STOP, DAEMON_CONTROL_SIGNAL, -- 2.39.2