From b20a49b5e7ca0d42f752d36a9dc0f2197243d6f0 Mon Sep 17 00:00:00 2001 From: Jeff Layton Date: Thu, 8 Nov 2012 14:02:21 -0500 Subject: [PATCH] nfsdcltrack: fix segfault in sqlite debug logging One too few arguments... Signed-off-by: Jeff Layton Signed-off-by: Steve Dickson --- utils/nfsdcld/sqlite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/nfsdcld/sqlite.c b/utils/nfsdcld/sqlite.c index bb2519d..fc882c6 100644 --- a/utils/nfsdcld/sqlite.c +++ b/utils/nfsdcld/sqlite.c @@ -320,7 +320,7 @@ sqlite_check_client(const unsigned char *clname, const size_t namelen) } ret = sqlite3_column_int(stmt, 0); - xlog(D_GENERAL, "%s: select returned %d rows", ret); + xlog(D_GENERAL, "%s: select returned %d rows", __func__, ret); if (ret != 1) { ret = -EACCES; goto out_err; -- 2.39.5