From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-x242.google.com (mail-qt0-x242.google.com [IPv6:2607:f8b0:400d:c0d::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 52A44210C1EFB for ; Wed, 1 Aug 2018 11:56:15 -0700 (PDT) Received: by mail-qt0-x242.google.com with SMTP id n6-v6so21110706qtl.4 for ; Wed, 01 Aug 2018 11:56:15 -0700 (PDT) From: Masayoshi Mizuma Subject: [PATCH] ndctl, monitor: Change the fail log priority to err. Date: Wed, 1 Aug 2018 14:55:38 -0400 Message-Id: <20180801185538.27084-1-msys.mizuma@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" To: linux-nvdimm@lists.01.org Cc: Masayoshi Mizuma List-ID: From: Masayoshi Mizuma fail() is called if an error happens, but the log priority is debug, so user may not notice the error. Let's change the priority to err. Cc: QI Fuli Signed-off-by: Masayoshi Mizuma --- ndctl/monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ndctl/monitor.c b/ndctl/monitor.c index 84d51c4..68bbf65 100644 --- a/ndctl/monitor.c +++ b/ndctl/monitor.c @@ -40,7 +40,7 @@ static int did_fail; #define fail(fmt, ...) \ do { \ did_fail = 1; \ - dbg(ctx, "ndctl-%s:%s:%d: " fmt, \ + err(ctx, "ndctl-%s:%s:%d: " fmt, \ VERSION, __func__, __LINE__, ##__VA_ARGS__); \ } while (0) -- 2.18.0 _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm