From patchwork Wed Aug 24 15:33:53 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chuck Lever X-Patchwork-Id: 1093082 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p7OFXmUF002448 for ; Wed, 24 Aug 2011 15:33:57 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750934Ab1HXPd5 (ORCPT ); Wed, 24 Aug 2011 11:33:57 -0400 Received: from mail-ew0-f46.google.com ([209.85.215.46]:42819 "EHLO mail-ew0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750917Ab1HXPd4 (ORCPT ); Wed, 24 Aug 2011 11:33:56 -0400 Received: by mail-ew0-f46.google.com with SMTP id 4so527255ewy.19 for ; Wed, 24 Aug 2011 08:33:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:from:subject:to:date:message-id:in-reply-to:references :user-agent:mime-version:content-type:content-transfer-encoding; bh=P1oeZTCh5sYFhYj7mZIlA1y48zdiOetvhmNJ6OkU7yY=; b=HkD8kjUTGMk6HnXFmaPFE3DEvW1L8zhtSwkendi0+OlZt0VDdTJc1VshCCzQKNgV+U 3Hpk62ksE9a1Mf7tsrGKJB7eY1mi7GEG445XzStvIKS1/4Ak/DMKINDyzmz2Qpycq4e4 OdCOF7cBErNHX0ryCfuOa9osy55MPPgevtcuY= Received: by 10.14.13.194 with SMTP id b42mr465561eeb.49.1314200036128; Wed, 24 Aug 2011 08:33:56 -0700 (PDT) Received: from matisse.1015granger.net (adsl-99-26-161-222.dsl.sfldmi.sbcglobal.net [99.26.161.222]) by mx.google.com with ESMTPS id u43sm755910eef.63.2011.08.24.08.33.55 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 24 Aug 2011 08:33:55 -0700 (PDT) From: Chuck Lever Subject: [PATCH 1/5] statd: Report count of loaded hosts correctly To: linux-nfs@vger.kernel.org Date: Wed, 24 Aug 2011 11:33:53 -0400 Message-ID: <20110824153353.3138.98630.stgit@matisse.1015granger.net> In-Reply-To: <20110824153024.3138.63294.stgit@matisse.1015granger.net> References: <20110824153024.3138.63294.stgit@matisse.1015granger.net> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Wed, 24 Aug 2011 15:34:07 +0000 (UTC) Fix a debugging message to report correctly the count of hosts loaded when statd starts up. Signed-off-by: Chuck Lever --- utils/statd/monitor.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/utils/statd/monitor.c b/utils/statd/monitor.c index 325dfd3..286a5e2 100644 --- a/utils/statd/monitor.c +++ b/utils/statd/monitor.c @@ -249,7 +249,7 @@ void load_state(void) count = nsm_load_monitor_list(load_one_host); if (count) - xlog(D_GENERAL, "Loaded %u previously monitored hosts"); + xlog(D_GENERAL, "Loaded %u previously monitored hosts", count); } /*