diff --git a/src/core/mainloop/mainloop.c b/src/core/mainloop/mainloop.c
index 8e1b33e56e..a1ea32220a 100644
--- a/src/core/mainloop/mainloop.c
+++ b/src/core/mainloop/mainloop.c
@@ -21,7 +21,7 @@
*
signal_callback(), which handles incoming signals.
*
* Other events are used for specific purposes, or for building more complex
- * control structures. If you search for usage of tor_libevent_new(), you
+ * control structures. If you search for usage of tor_event_new(), you
* will find all the events that we construct in Tor.
*
* Tor has numerous housekeeping operations that need to happen