aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYordan Karadzhov <ykaradzhov@vmware.com>2019-03-14 17:10:02 +0200
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2019-03-22 15:14:11 -0400
commita2d401655228fe7ae8f9e8452390d65752c4a7c6 (patch)
tree28773b3069f31e4e58ea79d5060fa4180835dab6
parent85844c6b91b41d10a0374d58090f1ecc9d7bb150 (diff)
downloadtrace-cmd-a2d401655228fe7ae8f9e8452390d65752c4a7c6.tar.gz
kernel-shark: Fix a typo in an error message from libkshark-configio
The error message, printed whene kshark_open_json_file() fails, puts the period on a new line. Link: http://lore.kernel.org/linux-trace-devel/20190314151012.905-3-ykaradzhov@vmware.com Signed-off-by: Yordan Karadzhov <ykaradzhov@vmware.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
-rw-r--r--kernel-shark/src/libkshark-configio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel-shark/src/libkshark-configio.c b/kernel-shark/src/libkshark-configio.c
index ab888646..2bd56008 100644
--- a/kernel-shark/src/libkshark-configio.c
+++ b/kernel-shark/src/libkshark-configio.c
@@ -1624,7 +1624,7 @@ static struct json_object *kshark_open_json_file(const char *file_name,
fail:
/* The document has a wrong type. */
- fprintf(stderr, "Failed to open Json file %s\n.", file_name);
+ fprintf(stderr, "Failed to open Json file %s.\n", file_name);
fprintf(stderr, "The document has a wrong type.\n");
json_object_put(jobj);