diff --git a/src/debug.h b/src/debug.h
index ddd33d527e4f4fde967344a3f4f63ea98df0e37a..5c9eb7b32db8ef5d07d97b867c68ec09b848e337 100644
--- a/src/debug.h
+++ b/src/debug.h
@@ -23,7 +23,6 @@
 #include "cell.h"
 #include "part.h"
 
-
 void printParticle(struct part *parts, long long int i, int N);
 void printgParticle(struct gpart *parts, long long int i, int N);
 void printParticle_single(struct part *p);
diff --git a/src/engine.c b/src/engine.c
index ecc48ba336c02b852c838bd9da6ff910e4405460..935b6902e9bdfca6ac364a29d8f971422f893e21 100644
--- a/src/engine.c
+++ b/src/engine.c
@@ -366,7 +366,7 @@ void engine_repartition(struct engine *e) {
 
     /* Get the task weight. */
     idx_t w = (t->toc - t->tic) * wscale;
-    if (w < 0) error("Bad task weight (%"SCIDX").", w);
+    if (w < 0) error("Bad task weight (%" SCIDX ").", w);
 
     /* Do we need to re-scale? */
     wtot += w;
diff --git a/src/units.h b/src/units.h
index ba69443ed883446e34894e4f6a47dfc28694ea31..0523247b04f1d09c9974bae5afab8070590d77b1 100644
--- a/src/units.h
+++ b/src/units.h
@@ -40,9 +40,8 @@ struct UnitSystem {
   double UnitCurrent_in_cgs; /*< Conversion factor from Ampere to internal
                                 current units. */
 
-  double
-      UnitTemperature_in_cgs; /*< Conversion factor from Kelvins to internal
-                                 temperature units. */
+  double UnitTemperature_in_cgs; /*< Conversion factor from Kelvins to internal
+                                    temperature units. */
 };
 
 /**