examples/pipeline: add newline to error messages
authorCristian Dumitrescu <cristian.dumitrescu@intel.com>
Wed, 31 Mar 2021 13:51:53 +0000 (14:51 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 20 Apr 2021 00:49:17 +0000 (02:49 +0200)
Add newline to some error messages that were missing it.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
examples/pipeline/cli.c

index b5295c6..215dd8e 100644 (file)
@@ -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;
                }