diff --git a/app/src/adb.c b/app/src/adb.c index 598b331f..5bc4e4cc 100644 --- a/app/src/adb.c +++ b/app/src/adb.c @@ -425,7 +425,7 @@ adb_get_serialno(struct sc_intr *intr, unsigned flags) { } if (r == -1) { - return false; + return NULL; } sc_str_truncate(buf, r, " \r\n"); @@ -455,7 +455,7 @@ adb_get_device_ip(struct sc_intr *intr, const char *serial, unsigned flags) { } if (r == -1) { - return false; + return NULL; } assert((size_t) r <= sizeof(buf));