summaryrefslogtreecommitdiffstats
path: root/minadbd/sockets.c
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2014-03-14 17:39:48 +0100
committerMark Salyzyn <salyzyn@google.com>2014-03-14 21:51:39 +0100
commitf3bb31c32fa879ccce358c15c93b7bd8582d1756 (patch)
tree0ce9c3520be76db70f29a63fca0b895a028934af /minadbd/sockets.c
parentMerge "separate fbdev-specific code out from minui" (diff)
downloadandroid_bootable_recovery-f3bb31c32fa879ccce358c15c93b7bd8582d1756.tar
android_bootable_recovery-f3bb31c32fa879ccce358c15c93b7bd8582d1756.tar.gz
android_bootable_recovery-f3bb31c32fa879ccce358c15c93b7bd8582d1756.tar.bz2
android_bootable_recovery-f3bb31c32fa879ccce358c15c93b7bd8582d1756.tar.lz
android_bootable_recovery-f3bb31c32fa879ccce358c15c93b7bd8582d1756.tar.xz
android_bootable_recovery-f3bb31c32fa879ccce358c15c93b7bd8582d1756.tar.zst
android_bootable_recovery-f3bb31c32fa879ccce358c15c93b7bd8582d1756.zip
Diffstat (limited to '')
-rw-r--r--minadbd/sockets.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/minadbd/sockets.c b/minadbd/sockets.c
index 2dd646159..817410d13 100644
--- a/minadbd/sockets.c
+++ b/minadbd/sockets.c
@@ -319,7 +319,8 @@ static void local_socket_event_func(int fd, unsigned ev, void *_s)
while(avail > 0) {
r = adb_read(fd, x, avail);
- D("LS(%d): post adb_read(fd=%d,...) r=%d (errno=%d) avail=%d\n", s->id, s->fd, r, r<0?errno:0, avail);
+ D("LS(%d): post adb_read(fd=%d,...) r=%d (errno=%d) avail=%zu\n",
+ s->id, s->fd, r, r<0?errno:0, avail);
if(r > 0) {
avail -= r;
x += r;