Skip to contentSkip to conversation

trace-cmd: Fix a typo in warning messages

PATCH New Tzvetomir Stoyanov (VMware) 1 participant 1 message Jul 25, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 trace-cmd: Fix a typo in warning messages

From: Tzvetomir Stoyanov <[email protected]>

There is a typo in few trace-cmd warning messages:
"cound not" -> "could not"

---
 lib/trace-cmd/trace-util.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
lib/trace-cmd/trace-util.c +3 -3
index 7c74bae..d3bb333 100644
@@ -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;
 	}
Signature · 1 line
2.21.0