diff --git a/src/runner.c b/src/runner.c
index 5bc5fede083fe2fe6810021af05d1a30a44d4e41..a726f1fc24ec30253e7925dfe161d6f972e9ae66 100644
--- a/src/runner.c
+++ b/src/runner.c
@@ -1197,7 +1197,7 @@ void runner_do_star_formation(struct runner *r, struct cell *c, int timer) {
  * @param c The top-level cell to run on.
  * @param timer Are we timing this?
  */
-void runner_do_stars_resort(struct runner *r, struct cell *c, int timer) {
+void runner_do_stars_resort(struct runner *r, struct cell *c, const int timer) {
 
 #ifdef SWIFT_DEBUG_CHECKS
   if (c->nodeID != r->e->nodeID) error("Task must be run locally!");
@@ -1212,7 +1212,7 @@ void runner_do_stars_resort(struct runner *r, struct cell *c, int timer) {
     cell_clear_flag(c, cell_flag_do_stars_resort);
   }
 
-  if (clock) TIMER_TOC(timer_dostars_resort);
+  if (timer) TIMER_TOC(timer_do_stars_resort);
 }
 
 /**
diff --git a/src/timers.h b/src/timers.h
index abcd1019a708cfae28094875fa094c9886804d26..e36aea2c6269ee07f813fc69764ed14e4d2cc550 100644
--- a/src/timers.h
+++ b/src/timers.h
@@ -107,6 +107,7 @@ enum {
   timer_step,
   timer_logger,
   timer_do_stars_sort,
+  timer_do_stars_resort,
   timer_fof_self,
   timer_fof_pair,
   timer_count,