diff mbox series

examples/pipeline: add newline to error messages

Message ID 20210331135153.63108-1-cristian.dumitrescu@intel.com (mailing list archive)
State Accepted
Delegated to: Thomas Monjalon
Headers show
Series examples/pipeline: add newline to error messages | expand

Checks

Context Check Description
ci/intel-Testing success Testing PASS
ci/Intel-compilation success Compilation OK
ci/iol-testing success Testing PASS
ci/iol-mellanox-Performance success Performance Testing PASS
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-abi-testing success Testing PASS
ci/github-robot success github build: passed
ci/travis-robot success travis build: passed
ci/checkpatch success coding style OK

Commit Message

Dumitrescu, Cristian March 31, 2021, 1:51 p.m. UTC
Add newline to some error messages that were missing it.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
---
 examples/pipeline/cli.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Thomas Monjalon April 20, 2021, 12:50 a.m. UTC | #1
31/03/2021 15:51, Cristian Dumitrescu:
> Add newline to some error messages that were missing it.
> 
> Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>

Applied, thanks
diff mbox series

Patch

diff --git a/examples/pipeline/cli.c b/examples/pipeline/cli.c
index 9d7d69d34..ef47febaa 100644
--- a/examples/pipeline/cli.c
+++ b/examples/pipeline/cli.c
@@ -1088,7 +1088,7 @@  cmd_pipeline_table_update(char **tokens,
 	if (strcmp(file_name_add, "none")) {
 		file_add = fopen(file_name_add, "r");
 		if (!file_add) {
-			snprintf(out, out_size, "Cannot open file %s",
+			snprintf(out, out_size, "Cannot open file %s.\n",
 				file_name_add);
 			goto error;
 		}
@@ -1097,7 +1097,7 @@  cmd_pipeline_table_update(char **tokens,
 	if (strcmp(file_name_delete, "none")) {
 		file_delete = fopen(file_name_delete, "r");
 		if (!file_delete) {
-			snprintf(out, out_size, "Cannot open file %s",
+			snprintf(out, out_size, "Cannot open file %s.\n",
 				file_name_delete);
 			goto error;
 		}
@@ -1106,7 +1106,7 @@  cmd_pipeline_table_update(char **tokens,
 	if (strcmp(file_name_default, "none")) {
 		file_default = fopen(file_name_default, "r");
 		if (!file_default) {
-			snprintf(out, out_size, "Cannot open file %s",
+			snprintf(out, out_size, "Cannot open file %s.\n",
 				file_name_default);
 			goto error;
 		}