3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 04:32:37 +01:00

core: Use PRIu64 format modifier for printing uint64 variables

This commit is contained in:
Marcel Holtmann 2014-05-21 22:43:38 -07:00
parent 387ea2e9b3
commit edc067abf1

View File

@ -213,7 +213,7 @@ bool kdbus_open_bus(const char *path, const char *name, const char *conn_name)
return false;
}
l_debug("Name: :1.%lu", cmd_hello.head.id);
l_debug("Name: :1.%" PRIu64, cmd_hello.head.id);
memcpy(kdbus_id128, cmd_hello.head.id128, sizeof(kdbus_id128));
@ -228,8 +228,8 @@ bool kdbus_open_bus(const char *path, const char *name, const char *conn_name)
kdbus_id128[12], kdbus_id128[13],
kdbus_id128[14], kdbus_id128[15]);
l_debug("Bloom size: %lu", cmd_hello.head.bloom.size);
l_debug("Bloom hashes: %lu", cmd_hello.head.bloom.n_hash);
l_debug("Bloom size: %" PRIu64, cmd_hello.head.bloom.size);
l_debug("Bloom hashes: %" PRIu64, cmd_hello.head.bloom.n_hash);
if (!name_acquire(name)) {
close(kdbus_conn);