diff --git a/src/single_io.c b/src/single_io.c
index 76cd69be117f061bc07a0223201e409c09f39d50..f53ad90fdcf2f997d374dbf20a416c2aa21990ae 100644
--- a/src/single_io.c
+++ b/src/single_io.c
@@ -323,7 +323,7 @@ void writeArray(struct engine* e, hid_t grp, char* fileName, FILE* xmfFile,
  * @param flag_entropy (output) 1 if the ICs contained Entropy in the
  * InternalEnergy field
  * @param with_hydro Are we reading gas particles ?
- * @param with_hydro Are we reading/creating #gpart arrays ?
+ * @param with_gravity Are we reading/creating #gpart arrays ?
  * @param with_stars Are we reading star particles ?
  * @param dry_run If 1, don't read the particle. Only allocates the arrays.
  *