summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2012-11-08 14:02:21 -0500
committerSteve Dickson <steved@redhat.com>2012-11-11 18:01:23 -0500
commitb20a49b5e7ca0d42f752d36a9dc0f2197243d6f0 (patch)
tree75cddea9adc93e8c22c0436a379ad4f8444e2ef6
parentfbcdfb5150d8263196bad0f074f74d9d5c69113f (diff)
downloadnfs-utils-b20a49b5e7ca0d42f752d36a9dc0f2197243d6f0.zip
nfs-utils-b20a49b5e7ca0d42f752d36a9dc0f2197243d6f0.tar.gz
nfs-utils-b20a49b5e7ca0d42f752d36a9dc0f2197243d6f0.tar.xz
nfsdcltrack: fix segfault in sqlite debug logging
One too few arguments... Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--utils/nfsdcld/sqlite.c2
1 files changed, 1 insertions, 1 deletions
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;