mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-16 13:42:19 +00:00
C++/Rust 2 way binding for MagiskD
This commit is contained in:
@@ -189,7 +189,7 @@ int su_client_main(int argc, char *argv[]) {
|
||||
int ptmx, fd;
|
||||
|
||||
// Connect to client
|
||||
fd = connect_daemon(MainRequest::SUPERUSER);
|
||||
fd = connect_daemon(+RequestCode::SUPERUSER);
|
||||
|
||||
// Send su_request
|
||||
xwrite(fd, &su_req, sizeof(su_req_base));
|
||||
|
||||
Reference in New Issue
Block a user