From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 60A03A0547; Wed, 21 Apr 2021 13:36:49 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 47D3C41A72; Wed, 21 Apr 2021 13:36:49 +0200 (CEST) Received: from szxga05-in.huawei.com (szxga05-in.huawei.com [45.249.212.191]) by mails.dpdk.org (Postfix) with ESMTP id 1B2F0419EC for ; Wed, 21 Apr 2021 13:36:47 +0200 (CEST) Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4FQJNt6MPLztWVb for ; Wed, 21 Apr 2021 19:34:22 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.498.0; Wed, 21 Apr 2021 19:36:40 +0800 From: "Min Hu (Connor)" To: CC: , Date: Wed, 21 Apr 2021 19:36:53 +0800 Message-ID: <1619005013-14477-1-git-send-email-humin29@huawei.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Subject: [dpdk-dev] [PATCH] test/bpf: fix wrong error variable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patch fixed wrong error variable in logging message. Fixes: 83633ba23076 ("test/bpf: fix few small issues") Cc: stable@dpdk.org Signed-off-by: Min Hu (Connor) --- app/test/test_bpf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test/test_bpf.c b/app/test/test_bpf.c index 7c3de96..527c06b 100644 --- a/app/test/test_bpf.c +++ b/app/test/test_bpf.c @@ -3207,7 +3207,7 @@ run_test(const struct bpf_test *tst) printf("%s@%d: check_result(%s) failed, " "error: %d(%s);\n", __func__, __LINE__, tst->name, - rv, strerror(ret)); + rv, strerror(rv)); } } -- 2.7.4