diff options
author | Tobias Brunner <tobias@strongswan.org> | 2015-10-29 17:37:06 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2015-10-29 17:40:31 +0100 |
commit | 3195650180dfeb399ed9600f35108e21a2a1390d (patch) | |
tree | 5a569430d4fc98ecd86b0a59099dff94907c3340 /src/charon-systemd/charon-systemd.c | |
parent | 35dbf8af7a9048f3384af181613c352b718f8d8e (diff) | |
download | strongswan-3195650180dfeb399ed9600f35108e21a2a1390d.tar.bz2 strongswan-3195650180dfeb399ed9600f35108e21a2a1390d.tar.xz |
Fix typo in error handling for sigwaitinfo() in charon-systemd and charon-tkm
Fixes 858148092d1e ("Replace usages of sigwait(3) with sigwaitinfo(2)")
Diffstat (limited to 'src/charon-systemd/charon-systemd.c')
-rw-r--r-- | src/charon-systemd/charon-systemd.c | 2 |
1 files changed, 1 insertions, 1 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) |