diff --git a/examples/main.c b/examples/main.c
index 5df2893d16f381c26aeb5aa880ddf13ba5207a41..4d59e97445af2f59cfcd947a805c2ed2a1218ad2 100644
--- a/examples/main.c
+++ b/examples/main.c
@@ -674,7 +674,8 @@ int main(int argc, char *argv[]) {
 #ifndef HAVE_FFTW
     /* Need the FFTW library if periodic and self gravity. */
     if (with_self_gravity && periodic)
-      error("No FFTW library found. Cannot compute periodic long-range forces.");
+      error(
+          "No FFTW library found. Cannot compute periodic long-range forces.");
 #endif
 
 #ifdef SWIFT_DEBUG_CHECKS
diff --git a/src/equation_of_state.h b/src/equation_of_state.h
index 1fed652f354e01a89f5e0b0540d9d326a7750b02..d170ce1a7c5c64fe95e415c997c037caeb576258 100644
--- a/src/equation_of_state.h
+++ b/src/equation_of_state.h
@@ -20,7 +20,7 @@
 #define SWIFT_EQUATION_OF_STATE_H
 
 /**
- * @file equation_of_state.h
+ * @file src/equation_of_state.h
  * @brief Defines the equation of state of the gas we simulate in the form of
  * relations between thermodynamic quantities. These are later used internally
  * by all hydro schemes
diff --git a/src/equation_of_state/ideal_gas/equation_of_state.h b/src/equation_of_state/ideal_gas/equation_of_state.h
index 4d873fbfbb7c672365eda0f668e05679441742cf..36b3511558e1c38c9135c689f45eea17220be053 100644
--- a/src/equation_of_state/ideal_gas/equation_of_state.h
+++ b/src/equation_of_state/ideal_gas/equation_of_state.h
@@ -171,7 +171,7 @@ __attribute__((always_inline)) INLINE static float gas_soundspeed_from_pressure(
  *
  * Nothing to do here since this EoS is parameter-free.
  *
- * @param e The #eos_paramters.
+ * @param e The #eos_parameters.
  * @param phys_const The physical constants in the internal unit system.
  * @param us The internal unit system.
  * @param params The parsed parameters.