diff options
author | Tzvetomir Stoyanov <tstoyanov@vmware.com> | 2019-07-25 13:57:31 +0300 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2019-07-25 08:51:44 -0400 |
commit | 93d76ea60bbe5e4c2802101e5f92a49b3f75690d (patch) | |
tree | 6ea5b22d0475c78d463847e794e579cf2636a5ab | |
parent | c9b3aa0c5dedeb554e04406cfe8fadc6dac44699 (diff) | |
download | trace-cmd-93d76ea60bbe5e4c2802101e5f92a49b3f75690d.tar.gz |
trace-cmd: Fix a typo in warning messages
There is a typo in few trace-cmd warning messages:
"cound not" -> "could not"
Link: http://lore.kernel.org/linux-trace-devel/20190725105731.28782-1-tz.stoyanov@gmail.com
Signed-off-by: Tzvetomir Stoyanov <tstoyanov@vmware.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
-rw-r--r-- | lib/trace-cmd/trace-util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/trace-cmd/trace-util.c b/lib/trace-cmd/trace-util.c index 7c74baec..d3bb3334 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; } |