diff --git a/rts/wasm/JSFFI.c b/rts/wasm/JSFFI.c
index d5832ca66bf061719319ed377c5702fe8846f86d..56e260d95004b2a00bcd82ea1c4f1b9ac7d04fbc 100644
--- a/rts/wasm/JSFFI.c
+++ b/rts/wasm/JSFFI.c
@@ -63,7 +63,7 @@ int __main_argc_argv(int argc, char *argv[]) {
 // here to ensure hs_init_ghc() sees everything it needs to see.
 __attribute__((constructor(102))) static void __ghc_wasm_jsffi_init(void) {
   // See
-  // https://gitlab.haskell.org/ghc/wasi-libc/-/blob/main/libc-bottom-half/sources/__main_void.c
+  // https://gitlab.haskell.org/ghc/wasi-libc/-/blob/master/libc-bottom-half/sources/__main_void.c
   // for its definition. It initializes some libc state, then calls
   // __main_argc_argv defined above.
   __main_void();