diff --git a/include/libcamera/transform.h b/include/libcamera/transform.h
index 847a1f94713c..9eb10e156d0d 100644
--- a/include/libcamera/transform.h
+++ b/include/libcamera/transform.h
@@ -75,7 +75,7 @@ Transform transformFromOrientation(const Orientation &orientation);
 Orientation transformToOrientation(const Transform &transform);
 
 Transform operator/(const Orientation &o1, const Orientation &o2);
-Orientation operator*(const Orientation &o1, const Transform &t);
+Orientation operator*(const Orientation &o, const Transform &t);
 
 const char *transformToString(Transform t);
 
