summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSung-jae Park <nicesj.park@samsung.com>2013-05-30 22:16:24 +0900
committerSung-jae Park <nicesj.park@samsung.com>2013-05-30 22:16:24 +0900
commita059bb85a6a7ac4a0606365705b7c5488f726026 (patch)
tree32c239ead5162adb0188614783a26689d2f43381
parent12a76e9de8659f2f40abed1cf012e4ec3dd715e0 (diff)
downloadcom-core-a059bb85a6a7ac4a0606365705b7c5488f726026.tar.gz
com-core-a059bb85a6a7ac4a0606365705b7c5488f726026.tar.bz2
com-core-a059bb85a6a7ac4a0606365705b7c5488f726026.zip
Fix the invalid log print code.
[model] Redwood [binary_type] AP [customer] Docomo/Orange/Open [issue#] N/A [problem] Crash occured [cause] print an integer as string type. [solution] Fix it [team] HomeTF [request] [horizontal_expansion] Change-Id: I20c6fdc2b56841acb3bf32b5eecac804853474b6
-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;