From 3195650180dfeb399ed9600f35108e21a2a1390d Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Thu, 29 Oct 2015 17:37:06 +0100 Subject: Fix typo in error handling for sigwaitinfo() in charon-systemd and charon-tkm Fixes 858148092d1e ("Replace usages of sigwait(3) with sigwaitinfo(2)") --- src/charon-systemd/charon-systemd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/charon-systemd/charon-systemd.c') diff --git a/src/charon-systemd/charon-systemd.c b/src/charon-systemd/charon-systemd.c index 5b43831a4..f302d4527 100644 --- a/src/charon-systemd/charon-systemd.c +++ b/src/charon-systemd/charon-systemd.c @@ -254,7 +254,7 @@ static int run() sig = sigwaitinfo(&set, NULL); if (sig == -1) { - DBG1(DBG_DMN, "waiting for signal failed: %s", strerror(error)); + DBG1(DBG_DMN, "waiting for signal failed: %s", strerror(errno)); return SS_RC_INITIALIZATION_FAILED; } switch (sig) -- cgit v1.2.3