summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test-sig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-sig.c b/tests/test-sig.c
index 63aab6f0..fe428dea 100644
--- a/tests/test-sig.c
+++ b/tests/test-sig.c
@@ -43,7 +43,7 @@ int
main (void)
{
master = thread_master_create ();
- signal_init (master, Q_SIGC(sigs), sigs);
+ signal_init (master, array_size(sigs), sigs);
zlog_default = openzlog("testsig", ZLOG_NONE,
LOG_CONS|LOG_NDELAY|LOG_PID, LOG_DAEMON);