fix copy paste error
authorJohn Crispin <blogic@openwrt.org>
Mon, 9 Dec 2013 12:57:43 +0000 (13:57 +0100)
committerJohn Crispin <blogic@openwrt.org>
Mon, 9 Dec 2013 12:57:43 +0000 (13:57 +0100)
Signed-off-by: John Crispin <blogic@openwrt.org>
system.c

index 3d52039..d5bf000 100644 (file)
--- a/system.c
+++ b/system.c
@@ -263,7 +263,7 @@ enum {
        __SIGNAL_MAX
 };
 
-static const struct blobmsg_policy signal_policy[__WDT_MAX] = {
+static const struct blobmsg_policy signal_policy[__SIGNAL_MAX] = {
        [SIGNAL_PID] = { .name = "pid", .type = BLOBMSG_TYPE_INT32 },
        [SIGNAL_NUM] = { .name = "signum", .type = BLOBMSG_TYPE_INT32 },
 };