From 0126d840f3495cf9ab9185d960d9da76548535e3 Mon Sep 17 00:00:00 2001 From: mitchellgoffpc Date: Thu, 24 Aug 2023 14:33:48 -0700 Subject: [PATCH] Disable error message in thneed ioctl interceptor to fix pyenv issues old-commit-hash: a184d40b7aebbebd91000a199d90299457378381 --- selfdrive/modeld/thneed/thneed_qcom2.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/selfdrive/modeld/thneed/thneed_qcom2.cc b/selfdrive/modeld/thneed/thneed_qcom2.cc index a3bfb8a8c2..21de15d17c 100644 --- a/selfdrive/modeld/thneed/thneed_qcom2.cc +++ b/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; }