diff --git a/include/libcamera/control_ids.h.in b/include/libcamera/control_ids.h.in
index 6ff0e4186983..95a7a7f1e260 100644
--- a/include/libcamera/control_ids.h.in
+++ b/include/libcamera/control_ids.h.in
@@ -2,7 +2,7 @@
 /*
  * Copyright (C) 2019, Google Inc.
  *
- * control_ids.h : Control ID list
+ * control_ids.h - Control ID list
  *
  * This file is auto-generated. Do not edit.
  */
@@ -30,4 +30,4 @@ extern const ControlIdMap controls;
 
 } /* namespace libcamera */
 
-#endif // __LIBCAMERA_CONTROL_IDS_H__
+#endif /* __LIBCAMERA_CONTROL_IDS_H__ */
diff --git a/include/libcamera/property_ids.h.in b/include/libcamera/property_ids.h.in
index 62799b3e8c54..e4dea335cd3b 100644
--- a/include/libcamera/property_ids.h.in
+++ b/include/libcamera/property_ids.h.in
@@ -2,7 +2,7 @@
 /*
  * Copyright (C) 2019, Google Inc.
  *
- * property_ids.h : Property ID list
+ * property_ids.h - Property ID list
  *
  * This file is auto-generated. Do not edit.
  */
@@ -26,8 +26,8 @@ ${controls}
 
 extern const ControlIdMap properties;
 
-} /* namespace propertiess */
+} /* namespace properties */
 
 } /* namespace libcamera */
 
-#endif // __LIBCAMERA_PROPERTY_IDS_H__
+#endif /* __LIBCAMERA_PROPERTY_IDS_H__ */
