diff --git a/src/xrt/drivers/psmv/psmv_driver.c b/src/xrt/drivers/psmv/psmv_driver.c index 68493c9ea..4f572dc07 100644 --- a/src/xrt/drivers/psmv/psmv_driver.c +++ b/src/xrt/drivers/psmv/psmv_driver.c @@ -531,7 +531,7 @@ psmv_get_calibration(struct psmv_device *psmv) } if (ret != (int)sizeof(part)) { - return ret; + return -1; } switch (part.which) {