From: Jeff Layton Date: Thu, 8 Nov 2012 19:02:21 +0000 (-0500) Subject: nfsdcltrack: fix segfault in sqlite debug logging X-Git-Tag: debian/1%1.2.8-1~11^2^2~68 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=b20a49b5e7ca0d42f752d36a9dc0f2197243d6f0;p=nfs-utils.git nfsdcltrack: fix segfault in sqlite debug logging One too few arguments... Signed-off-by: Jeff Layton Signed-off-by: Steve Dickson --- 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;