From: "Tzvetomir Stoyanov (VMware)" <tz.stoyanov@gmail.com>
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 [thread overview]
Message-ID: <20190725105731.28782-1-tz.stoyanov@gmail.com> (raw)
From: Tzvetomir Stoyanov <tstoyanov@vmware.com>
There is a typo in few trace-cmd warning messages:
"cound not" -> "could not"
Signed-off-by: Tzvetomir Stoyanov <tstoyanov@vmware.com>
---
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;
}
--
2.21.0
reply other threads:[~2019-07-25 10:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190725105731.28782-1-tz.stoyanov@gmail.com \
--to=tz.stoyanov@gmail.com \
--cc=linux-trace-devel@vger.kernel.org \
--cc=rostedt@goodmis.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).