[fedfs-utils] [PATCH 3/5] libnsdb: fix xlog() call sites in connsec.c
Chuck Lever
chuck.lever at oracle.com
Thu Nov 21 16:39:56 PST 2013
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 at oracle.com>
---
src/libnsdb/connsec.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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();
More information about the fedfs-utils-devel
mailing list