mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-10 08:33:14 +00:00
Reduce C++ wizardry
This commit is contained in:
@@ -159,7 +159,7 @@ int su_client_main(int argc, char *argv[]) {
|
||||
int ptmx, fd;
|
||||
|
||||
// Connect to client
|
||||
fd = connect_daemon(DaemonRequest::SUPERUSER);
|
||||
fd = connect_daemon(MainRequest::SUPERUSER);
|
||||
|
||||
// Send su_request
|
||||
xwrite(fd, &su_req, sizeof(su_req_base));
|
||||
|
||||
Reference in New Issue
Block a user