mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-31 15:06:45 -08:00
Make sure logs are always ended with newline
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
using namespace std;
|
||||
|
||||
ssize_t fd_path(int fd, char *path, size_t size) {
|
||||
snprintf(path, size, "/proc/self/fd/%d", fd);
|
||||
ssprintf(path, size, "/proc/self/fd/%d", fd);
|
||||
return xreadlink(path, path, size);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user