From patchwork Thu Jul 25 10:57:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Tzvetomir Stoyanov (VMware)" X-Patchwork-Id: 11058611 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5208A138D for ; Thu, 25 Jul 2019 10:57:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4278F279E0 for ; Thu, 25 Jul 2019 10:57:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 36EF22899B; Thu, 25 Jul 2019 10:57:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D6965279E0 for ; Thu, 25 Jul 2019 10:57:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389859AbfGYK5g (ORCPT ); Thu, 25 Jul 2019 06:57:36 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:46276 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390154AbfGYK5g (ORCPT ); Thu, 25 Jul 2019 06:57:36 -0400 Received: by mail-wr1-f67.google.com with SMTP id z1so50246052wru.13 for ; Thu, 25 Jul 2019 03:57:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=tdDQhHb+xp7ClUdZDm99YoRRflL+HzrGkfo7lDIr9fI=; b=ba7InO9r+tHTuGOi/FIJn1lq9o9rkh0LDg0tpEAGLLv5g+63feW31zz+oRci4k3xia kliTvnOqdv4jzW/Lnv+EzWn5H8/4X5sHSRtfuMwi+txzVvP+aOMCnmI80eoFEQw9m0As mRefzgxqwWxeN73wiC9dm6dRgBgsuWVWJxwFLscJHKURuXWlu+lX5AutpbHLfuyd29pv 2aw+JVWt9XHOlr2FHyupKvXLbG9Hopp2PldvaElmjc3i2MdEbBhOcVhI0Vx0yoqmPHVK 8WnrEsFWCzytVr0uIoEeXN711IKuTow5R+tRCghNl+8JuRTWsffNWqthud0sbVdSzXIX Ae5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=tdDQhHb+xp7ClUdZDm99YoRRflL+HzrGkfo7lDIr9fI=; b=I9MTaxwgnBTYgrxQbaEWdJxleqknfapZCXae3WOMZObQYTgThjIKsqkB/IFdQfB/dA Gid1hNz2N0iQ88TkxHkRd78bkmcpDlEyrBM6wuxSL2R4v+QRbwyyCFOs4WQ2b6S4K2gg D15v7zjM87RfVz8ly+OJadstzopuWQNrvuV6j+zFpKDQ1R8w2l6T8UdBhAarrSWIBrT+ vxqoZijDVLXYFOtxUh/FU2RyKy7OMqt6PTzo09WNP3C/A9wSvYnkIX2L358AQos5UCL3 6QjHyv04a9hn227NLEGGm4ggoj273cIlPGAc/Ll7HsZ8AO7sYgGrZkHCS2diPYxVicIt pJLg== X-Gm-Message-State: APjAAAWHqefGg8NIq5eUldjH9ReZX3tYuNDBnGwJ65YNs0X/BuHvm1aR oNi0OU7KW/Bb40U26nArfLdToFqixVw= X-Google-Smtp-Source: APXvYqw9UaPulcupQ1izKhETFVf7hRl7IrqUOPJAkfZV+rPV0r4KOwDUOflXD1cYPkeGA2UbNslUpw== X-Received: by 2002:adf:a341:: with SMTP id d1mr46007456wrb.260.1564052254283; Thu, 25 Jul 2019 03:57:34 -0700 (PDT) Received: from oberon.eng.vmware.com ([146.247.46.5]) by smtp.gmail.com with ESMTPSA id n3sm43769644wrt.31.2019.07.25.03.57.32 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 25 Jul 2019 03:57:33 -0700 (PDT) From: "Tzvetomir Stoyanov (VMware)" To: rostedt@goodmis.org Cc: linux-trace-devel@vger.kernel.org Subject: [PATCH] trace-cmd: Fix a typo in warning messages Date: Thu, 25 Jul 2019 13:57:31 +0300 Message-Id: <20190725105731.28782-1-tz.stoyanov@gmail.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Sender: linux-trace-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-trace-devel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Tzvetomir Stoyanov There is a typo in few trace-cmd warning messages: "cound not" -> "could not" Signed-off-by: Tzvetomir Stoyanov --- lib/trace-cmd/trace-util.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/trace-cmd/trace-util.c b/lib/trace-cmd/trace-util.c index 7c74bae..d3bb333 100644 --- a/lib/trace-cmd/trace-util.c +++ b/lib/trace-cmd/trace-util.c @@ -608,7 +608,7 @@ static int load_plugin(struct tep_handle *pevent, const char *path, handle = dlopen(plugin, RTLD_NOW | RTLD_GLOBAL); if (!handle) { - warning("cound not load plugin '%s'\n%s\n", + warning("could not load plugin '%s'\n%s\n", plugin, dlerror()); goto out_free; } @@ -629,7 +629,7 @@ static int load_plugin(struct tep_handle *pevent, const char *path, func = dlsym(handle, TEP_PLUGIN_LOADER_NAME); if (!func) { - warning("cound not find func '%s' in plugin '%s'\n%s\n", + warning("could not find func '%s' in plugin '%s'\n%s\n", TEP_PLUGIN_LOADER_NAME, plugin, dlerror()); goto out_free; } @@ -1525,7 +1525,7 @@ static int read_options(struct tep_handle *pevent, const char *path, handle = dlopen(plugin, RTLD_NOW | RTLD_GLOBAL); if (!handle) { - warning("cound not load plugin '%s'\n%s\n", + warning("could not load plugin '%s'\n%s\n", plugin, dlerror()); goto out_free; }