Disable error message in thneed ioctl interceptor to fix pyenv issues

old-commit-hash: a184d40b7a
beeps
mitchellgoffpc 2 years ago
parent 8cbc68a3be
commit 0126d840f3
  1. 3
      selfdrive/modeld/thneed/thneed_qcom2.cc

@ -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;
}

Loading…
Cancel
Save