Linux-Trace-Devel Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] trace-cmd: Fix a typo in warning messages
@ 2019-07-25 10:57 Tzvetomir Stoyanov (VMware)
  0 siblings, 0 replies; only message in thread
From: Tzvetomir Stoyanov (VMware) @ 2019-07-25 10:57 UTC (permalink / raw)
  To: rostedt; +Cc: linux-trace-devel

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-25 10:57 [PATCH] trace-cmd: Fix a typo in warning messages Tzvetomir Stoyanov (VMware)

Linux-Trace-Devel Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-trace-devel/0 linux-trace-devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-trace-devel linux-trace-devel/ https://lore.kernel.org/linux-trace-devel \
		linux-trace-devel@vger.kernel.org linux-trace-devel@archiver.kernel.org
	public-inbox-index linux-trace-devel


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-trace-devel


AGPL code for this site: git clone https://public-inbox.org/ public-inbox