* [PATCH] nfsdcld: fix segfault in sqlite debug logging
@ 2012-09-28 19:39 Jeff Layton
0 siblings, 0 replies; only message in thread
From: Jeff Layton @ 2012-09-28 19:39 UTC (permalink / raw)
To: steved; +Cc: linux-nfs
One too few arguments...
Signed-off-by: Jeff Layton <jlayton@redhat.com>
---
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;
--
1.7.11.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-09-28 19:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-28 19:39 [PATCH] nfsdcld: fix segfault in sqlite debug logging Jeff Layton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).