diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/charon-systemd/charon-systemd.c | 2 | ||||
-rw-r--r-- | src/charon-tkm/src/charon-tkm.c | 2 |
2 files changed, 2 insertions, 2 deletions
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) diff --git a/src/charon-tkm/src/charon-tkm.c b/src/charon-tkm/src/charon-tkm.c index 2b278d58e..6c3a78bd8 100644 --- a/src/charon-tkm/src/charon-tkm.c +++ b/src/charon-tkm/src/charon-tkm.c @@ -103,7 +103,7 @@ static void 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; } switch (sig) |