summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeung-Woo Kim <sw0312.kim@samsung.com>2020-09-22 15:50:43 +0900
committerSeung-Woo Kim <sw0312.kim@samsung.com>2020-09-22 15:50:43 +0900
commit7c16978828b003265e96b1b8ea21ecef38a7177a (patch)
tree0d63e4c6f7e144c4158338b181b1ea4b30ea665d
parentb81b7d964400a40c3839c5e9c9cadd7b97a00f8c (diff)
downloadinitrd-flash-7c16978828b003265e96b1b8ea21ecef38a7177a.tar.gz
initrd-flash-7c16978828b003265e96b1b8ea21ecef38a7177a.tar.bz2
initrd-flash-7c16978828b003265e96b1b8ea21ecef38a7177a.zip
Change-Id: I7600d5d2e9ebded4bcfdcde0e0420bf578a49bbe Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
-rw-r--r--src/dfu.c2
-rw-r--r--src/thor.c4
-rw-r--r--src/usb.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/dfu.c b/src/dfu.c
index 362016a..c7527f7 100644
--- 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;
}
}
diff --git a/src/thor.c b/src/thor.c
index 967b4dd..097b7bc 100644
--- a/src/thor.c
+++ b/src/thor.c
@@ -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;
}
diff --git a/src/usb.c b/src/usb.c
index 791df5b..8de12e4 100644
--- 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;
}