From patchwork Thu Oct 25 17:21:35 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Layton X-Patchwork-Id: 1646061 Return-Path: X-Original-To: patchwork-linux-nfs@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 4A974DF2AB for ; Thu, 25 Oct 2012 17:21:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946112Ab2JYRVx (ORCPT ); Thu, 25 Oct 2012 13:21:53 -0400 Received: from mail-vb0-f46.google.com ([209.85.212.46]:50610 "EHLO mail-vb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759931Ab2JYRVw (ORCPT ); Thu, 25 Oct 2012 13:21:52 -0400 Received: by mail-vb0-f46.google.com with SMTP id ff1so2161469vbb.19 for ; Thu, 25 Oct 2012 10:21:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state; bh=G+mM9dxksjKi7FwmUAomyYHsi7rbZv+Gk8Q1lS0PKSQ=; b=kPc1Vj+FYhUBe4Ma+q2N51/LB8OEpasIp5jsVIFuZVihzTWKn7U+Jm+ph1L5GC7AtA bsPbG2k8BDuQWhktT0gCVkeHRKP+3KrYu9dFCD4RN//4GH60WiEG/BBFwEwnrCEcbK+3 bbIgy1UWipNY7HQgf94QOfer72jkIfTvUfVlNRSCf4RqJ0z+cODwifLosYDmkBs2ZcTQ lBsV3g4vC2ca9kmemi1i1cFFxdemUy+byzBejgcwyBAzTOUaBp0OCgiy6m/u/d1dARR+ mwZBfSKYcVLbVMMYWQaR8v/1/7OqzPuRsWIqxv2Mi6AkVuNUL/xwO5Jis2D4zBQW7YT3 KnCw== Received: by 10.52.175.200 with SMTP id cc8mr27376651vdc.21.1351185711400; Thu, 25 Oct 2012 10:21:51 -0700 (PDT) Received: from salusa.poochiereds.net (cpe-107-015-110-129.nc.res.rr.com. [107.15.110.129]) by mx.google.com with ESMTPS id k4sm19373961vdg.2.2012.10.25.10.21.50 (version=SSLv3 cipher=OTHER); Thu, 25 Oct 2012 10:21:50 -0700 (PDT) From: Jeff Layton To: steved@redhat.com Cc: linux-nfs@vger.kernel.org Subject: [PATCH v3 1/9] nfsdcltrack: fix segfault in sqlite debug logging Date: Thu, 25 Oct 2012 13:21:35 -0400 Message-Id: <1351185703-14191-2-git-send-email-jlayton@redhat.com> X-Mailer: git-send-email 1.7.11.7 In-Reply-To: <1351185703-14191-1-git-send-email-jlayton@redhat.com> References: <1351185703-14191-1-git-send-email-jlayton@redhat.com> X-Gm-Message-State: ALoCoQllwpHWskvNdZ1/qrGr+1oLhRNeaZkPT5PT5sq6KH2GHMmrqNpZIUWALHbgZGFrh5123YK8 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org One too few arguments... Signed-off-by: Jeff Layton --- 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;