summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--asmrun/startup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/asmrun/startup.c b/asmrun/startup.c
index 92ab8446e..117a5c9e4 100644
--- a/asmrun/startup.c
+++ b/asmrun/startup.c
@@ -139,7 +139,7 @@ void caml_main(char **argv)
caml_init_signals();
exe_name = argv[0];
#ifdef __linux__
- if (executable_name(proc_self_exe, sizeof(proc_self_exe)) == 0)
+ if (caml_executable_name(proc_self_exe, sizeof(proc_self_exe)) == 0)
exe_name = proc_self_exe;
#endif
caml_sys_init(exe_name, argv);