mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-10 03:42:09 +08:00
Disable error message in thneed ioctl interceptor to fix pyenv issues
old-commit-hash: a184d40b7aebbebd91000a199d90299457378381
This commit is contained in:
@@ -107,7 +107,8 @@ int ioctl(int filedes, unsigned long request, void *argp) {
|
||||
}
|
||||
|
||||
int ret = my_ioctl(filedes, request, argp);
|
||||
if (ret != 0) printf("ioctl returned %d with errno %d\n", ret, errno);
|
||||
// NOTE: This error message goes into stdout and messes up pyenv
|
||||
// if (ret != 0) printf("ioctl returned %d with errno %d\n", ret, errno);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user