Message ID | 20131122003956.54630.4077.stgit@seurat.1015granger.net |
---|---|
State | Accepted |
Headers | show |
diff --git a/src/libnsdb/connsec.c b/src/libnsdb/connsec.c index 5272683..4b68c61 100644 --- a/src/libnsdb/connsec.c +++ b/src/libnsdb/connsec.c @@ -42,7 +42,7 @@ void nsdb_connsec_crypto_startup(void) { - xlog(D_CALL, "%s"); + xlog(D_CALL, "%s", __func__); CRYPTO_malloc_init(); ERR_load_crypto_strings(); @@ -56,7 +56,7 @@ nsdb_connsec_crypto_startup(void) void nsdb_connsec_crypto_shutdown(void) { - xlog(D_CALL, "%s"); + xlog(D_CALL, "%s", __func__); OBJ_cleanup(); EVP_cleanup();
Missing arguments to xlog() result in segfaults when debugging is enabled. Introduced by commit f1f55b50 "libnsdb: New mechanism for setting NSDB connection security", Jan 16 15:45:12 2013. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> --- src/libnsdb/connsec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)