diff --git a/examples/pybullet/pybullet.c b/examples/pybullet/pybullet.c index eef43f9b4..87706aad8 100644 --- a/examples/pybullet/pybullet.c +++ b/examples/pybullet/pybullet.c @@ -2213,7 +2213,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; }