aboutsummaryrefslogtreecommitdiffstats
path: root/minadbd
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2015-02-25 15:18:24 +0000
committerNarayan Kamath <narayan@google.com>2015-02-25 15:21:28 +0000
commit017db6d89e00183cea617dee7b2bc05c2098d643 (patch)
tree3e89eb1144eef74a3a36053b119f8a2069097390 /minadbd
parent35fbf7876059b64d069d60fd9eab761718344271 (diff)
downloadbootable_recovery-017db6d89e00183cea617dee7b2bc05c2098d643.zip
bootable_recovery-017db6d89e00183cea617dee7b2bc05c2098d643.tar.gz
bootable_recovery-017db6d89e00183cea617dee7b2bc05c2098d643.tar.bz2
Fix LP64 build for minadbd.
services.c:57:12: error: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t' [-Werror=format=] Change-Id: Ieba691bf9e7a30c8bb38f4e1f36e86b6ea3f8c80
Diffstat (limited to 'minadbd')
-rw-r--r--minadbd/services.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/minadbd/services.c b/minadbd/services.c
index 7e419cc..581d847 100644
--- a/minadbd/services.c
+++ b/minadbd/services.c
@@ -53,8 +53,8 @@ static void sideload_host_service(int sfd, void* cookie)
s = adb_strtok_r(NULL, ":", &saveptr);
uint32_t block_size = strtoul(s, NULL, 10);
- printf("sideload-host file size %llu block size %" PRIu32 "\n", file_size,
- block_size);
+ printf("sideload-host file size %" PRIu64 " block size %" PRIu32 "\n",
+ file_size, block_size);
int result = run_adb_fuse(sfd, file_size, block_size);