diff options
author | Martin Willi <martin@strongswan.org> | 2007-05-07 12:38:46 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2007-05-07 12:38:46 +0000 |
commit | 6874bf698c537f3184483dd716c3a5b54912718e (patch) | |
tree | 8577be6ae42bbfefa273da7913f6c3ca99c406e3 /src/charon/config/credentials/local_credential_store.c | |
parent | a4a3884c8345dcb34fcfc9cc127e6b8a4d19554a (diff) | |
download | strongswan-6874bf698c537f3184483dd716c3a5b54912718e.tar.bz2 strongswan-6874bf698c537f3184483dd716c3a5b54912718e.tar.xz |
changing UID/GID after startup of pluto/charon
added --with-uid/--with-gid configure option
Diffstat (limited to 'src/charon/config/credentials/local_credential_store.c')
-rw-r--r-- | src/charon/config/credentials/local_credential_store.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/charon/config/credentials/local_credential_store.c b/src/charon/config/credentials/local_credential_store.c index 82ea78768..a920150ac 100644 --- a/src/charon/config/credentials/local_credential_store.c +++ b/src/charon/config/credentials/local_credential_store.c @@ -24,6 +24,7 @@ #include <dirent.h> #include <string.h> #include <pthread.h> +#include <errno.h> #include <library.h> #include <utils/lexparser.h> @@ -1382,7 +1383,8 @@ error: } else { - DBG1(DBG_CFG, "could not open file '%s'", SECRETS_FILE); + DBG1(DBG_CFG, "could not open file '%s': %s", SECRETS_FILE, + strerror(errno)); } } |