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 3d5203921c0a6067d3b87dc89ed1b31a17644030..d5bf0003f2fdc9c39e6c489f76e56531de070380 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 },
 };