mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-12 03:22:48 +00:00
Better logging system
Use C++ magic to strip out debug logs at compile time
This commit is contained in:
@@ -84,7 +84,7 @@ ssize_t xread(int fd, void *buf, size_t count) {
|
||||
ssize_t xxread(int fd, void *buf, size_t count) {
|
||||
int ret = read(fd, buf, count);
|
||||
if (count != ret) {
|
||||
PLOGE("read (%d != %d)", count, ret);
|
||||
PLOGE("read (%zu != %d)", count, ret);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user