projects
/
platform
/
core
/
system
/
faultd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
551bb18
)
listeners: systemd: Fix printf() format for uint64_t
51/129251/1
author
Krzysztof Opasiak
<k.opasiak@samsung.com>
Mon, 15 May 2017 19:18:30 +0000
(21:18 +0200)
committer
Krzysztof Opasiak
<k.opasiak@samsung.com>
Mon, 15 May 2017 19:26:06 +0000
(21:26 +0200)
Change-Id: I7a9ae8e51ef6a97632bdf43790475c18586b3a7a
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
src/listeners/systemd.c
patch
|
blob
|
history
diff --git
a/src/listeners/systemd.c
b/src/listeners/systemd.c
index 9ddd6df51a33383643a57411dca5f8f83912454a..84299c9902ec48a117893023daccb9e5083324a4 100644
(file)
--- a/
src/listeners/systemd.c
+++ b/
src/listeners/systemd.c
@@
-20,6
+20,7
@@
#include <poll.h>
#include <stdio.h>
+#include <inttypes.h>
#include <systemd/sd-bus.h>
#include <systemd/sd-event.h>
@@
-127,7
+128,7
@@
static int on_unit_properties_changed(sd_bus_message *m, void *userdata,
goto finish;
}
rc = sd_bus_message_exit_container(m);
- log_debug(" %s:%
ld"
, key, value);
+ log_debug(" %s:%
" PRIu64
, key, value);
} else {
log_debug(" %s", key);