diff --git a/src/cooling.c b/src/cooling.c
index 2db367031ac73291faf82fa5d77045399ca3a514..bd60510c98b292972bd694f09241730360911eb1 100644
--- a/src/cooling.c
+++ b/src/cooling.c
@@ -57,7 +57,7 @@ void cooling_print(const struct cooling_function_data* cooling) {
 /**
  * @brief Write a hydro_props struct to the given FILE as a stream of bytes.
  *
- * @param p the struct
+ * @param cooling the struct
  * @param stream the file stream
  */
 void cooling_struct_dump(const struct cooling_function_data* cooling,
@@ -70,7 +70,7 @@ void cooling_struct_dump(const struct cooling_function_data* cooling,
  * @brief Restore a hydro_props struct from the given FILE as a stream of
  * bytes.
  *
- * @param p the struct
+ * @param cooling the struct
  * @param stream the file stream
  */
 void cooling_struct_restore(const struct cooling_function_data* cooling,
diff --git a/src/parser.c b/src/parser.c
index cedfeeb246169b99b708caa114c473369e6243b4..efbef47daddadcd348fe7dbd5b956c00a109f3dc 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -789,7 +789,7 @@ void parser_write_params_to_hdf5(const struct swift_params *params, hid_t grp) {
 /**
  * @brief Write a swift_params struct to the given FILE as a stream of bytes.
  *
- * @param p the struct
+ * @param params the struct
  * @param stream the file stream
  */
 void parser_struct_dump(const struct swift_params *params, FILE *stream) {
@@ -801,7 +801,7 @@ void parser_struct_dump(const struct swift_params *params, FILE *stream) {
  * @brief Restore a swift_params struct from the given FILE as a stream of
  * bytes.
  *
- * @param p the struct
+ * @param params the struct
  * @param stream the file stream
  */
 void parser_struct_restore(const struct swift_params *params, FILE *stream) {
diff --git a/src/potential.c b/src/potential.c
index 38d99c6df9c4e53247f2b8e774ab6d662fba41f1..f4926bbfb766d821fac96e0824af6949615f3b7b 100644
--- a/src/potential.c
+++ b/src/potential.c
@@ -70,7 +70,7 @@ void potential_struct_dump(const struct external_potential* potential,
  * @brief Restore a external_potential struct from the given FILE as a stream of
  * bytes.
  *
- * @param p the struct
+ * @param potential the struct
  * @param stream the file stream
  */
 void potential_struct_restore(const struct external_potential* potential,