diff --git a/examples/pybullet/pybullet.c b/examples/pybullet/pybullet.c index 07af59b6d..c02ff4bb7 100644 --- a/examples/pybullet/pybullet.c +++ b/examples/pybullet/pybullet.c @@ -2054,7 +2054,7 @@ b3PhysicsClientHandle sm = 0; return NULL; } if (linkIndex < 0) { - PyErr_SetString(SpamError, "getLinkState failed; invalid jointIndex"); + PyErr_SetString(SpamError, "getLinkState failed; invalid linkIndex"); return NULL; }