summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/libcom-core.spec2
-rw-r--r--src/com-core_packet.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/packaging/libcom-core.spec b/packaging/libcom-core.spec
index b25648e..b5d0688 100644
--- a/packaging/libcom-core.spec
+++ b/packaging/libcom-core.spec
@@ -1,6 +1,6 @@
Name: libcom-core
Summary: Library for the light-weight IPC
-Version: 0.3.14
+Version: 0.3.15
Release: 1
Group: HomeTF/Framework
License: Apache License
diff --git a/src/com-core_packet.c b/src/com-core_packet.c
index 383f131..d6189df 100644
--- a/src/com-core_packet.c
+++ b/src/com-core_packet.c
@@ -494,7 +494,7 @@ EAPI struct packet *com_core_packet_oneshot_send(const char *addr, struct packet
offset = 0;
ret = com_core_recv(fd, (char *)ptr, packet_header_size(), &pid, timeout);
if (ret <= 0) {
- DbgPrint("Recv returns %s\n", ret);
+ DbgPrint("Recv returns %d\n", ret);
free(ptr);
goto out;
} else {
@@ -531,7 +531,7 @@ EAPI struct packet *com_core_packet_oneshot_send(const char *addr, struct packet
ret = com_core_recv(fd, (char *)ptr, size, &pid, timeout);
if (ret <= 0) {
- DbgPrint("Recv returns %s\n", ret);
+ DbgPrint("Recv returns %d\n", ret);
free(ptr);
packet_destroy(result);
result = NULL;