Update daemon

This commit is contained in:
topjohnwu 2018-06-17 01:26:38 +08:00
parent 79eb5b2ed2
commit 30e459252c

View File

@ -382,7 +382,7 @@ int su_client_main(int argc, char *argv[]) {
int ptmx, socketfd; int ptmx, socketfd;
// Connect to client // Connect to client
socketfd = connect_daemon(0); socketfd = connect_daemon();
// Tell the daemon we are su // Tell the daemon we are su
write_int(socketfd, SUPERUSER); write_int(socketfd, SUPERUSER);