summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-12-09 13:57:43 +0100
committerJohn Crispin <blogic@openwrt.org>2013-12-09 13:57:43 +0100
commitb76325945d31280b2ffecf898bfc62aa5f3d22d4 (patch)
tree740cc6e2953c33d83612e770d6696d699760d847
parent7fbc2759ceb90306a34b30ffd04c8afef94a3aea (diff)
downloadunitd-b76325945d31280b2ffecf898bfc62aa5f3d22d4.tar
unitd-b76325945d31280b2ffecf898bfc62aa5f3d22d4.zip
fix copy paste error
Signed-off-by: John Crispin <blogic@openwrt.org>
-rw-r--r--system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/system.c b/system.c
index 3d52039..d5bf000 100644
--- 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 },
};