Add missing newline character from log 91/244591/1 accepted/tizen/unified/20200923.093736 submit/tizen/20200923.032842
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Tue, 22 Sep 2020 06:50:43 +0000 (15:50 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Tue, 22 Sep 2020 06:50:43 +0000 (15:50 +0900)
Change-Id: I7600d5d2e9ebded4bcfdcde0e0420bf578a49bbe
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
src/dfu.c
src/thor.c
src/usb.c

index 362016a..c7527f7 100644 (file)
--- a/src/dfu.c
+++ b/src/dfu.c
@@ -599,7 +599,7 @@ int dfu_init_entry(struct dfu_context *ctx, const char *entry_file)
 
                ret = parse_dfu_info(buf, ctx->dfu_entry_list[i++]);
                if (ret < 0) {
-                       fprintf(stderr, "cannot parse dfu info");
+                       fprintf(stderr, "cannot parse dfu info\n");
                        goto err_free_all;
                }
        }
index 967b4dd..097b7bc 100644 (file)
@@ -123,7 +123,7 @@ static int thor_process_rqt_cmd(struct thor_context *tctx)
                thor_send_rsp(tctx, &rsp);
                break;
        default:
-               fprintf(stderr, "Not supported command request: %d",
+               fprintf(stderr, "Not supported command request: %d\n",
                                                                rqt->sub_id);
                return -EINVAL;
        }
@@ -364,7 +364,7 @@ int thor_process(struct tfm_interface *intf, struct dfu_context *dfu)
                n = tfm_interface_recv(intf, &rqt, RQT_PKT_SIZE);
                if (n < sizeof(rqt)) {
                        fprintf(stderr,
-                               "Failed to receive data from the host(%zd:%zu)",
+                               "Failed to receive data from host(%zd:%zu)\n",
                                n, RQT_PKT_SIZE);
                        return -EIO;
                }
index 791df5b..8de12e4 100644 (file)
--- a/src/usb.c
+++ b/src/usb.c
@@ -296,7 +296,7 @@ static void *ep0_handler(void *data)
                }
        }
 err:
-       fprintf(stderr, "Error occurs while handling ep0 event");
+       fprintf(stderr, "Error occurs while handling ep0 event\n");
        return NULL;
 }