summaryrefslogtreecommitdiffstats
path: root/byterun/win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'byterun/win32.c')
-rw-r--r--byterun/win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/byterun/win32.c b/byterun/win32.c
index ab08b3af0..095c40d2d 100644
--- a/byterun/win32.c
+++ b/byterun/win32.c
@@ -376,7 +376,7 @@ void caml_signal_thread(void * lpParam)
char iobuf[2];
/* This shall always return a single character */
ret = ReadFile(h, iobuf, 1, &numread, NULL);
- if (!ret || numread != 1) sys_exit(Val_int(2));
+ if (!ret || numread != 1) caml_sys_exit(Val_int(2));
switch (iobuf[0]) {
case 'C':
pending_signal = SIGINT;