summaryrefslogtreecommitdiff
path: root/otherlibs/unix/getserv.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/getserv.c')
-rw-r--r--otherlibs/unix/getserv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/otherlibs/unix/getserv.c b/otherlibs/unix/getserv.c
index 507853d86f..9edfa8798c 100644
--- a/otherlibs/unix/getserv.c
+++ b/otherlibs/unix/getserv.c
@@ -69,9 +69,9 @@ CAMLprim value unix_getservbyport(value port, value proto)
#else
CAMLprim value unix_getservbyport(value port, value proto)
-{ invalid_argument("getservbyport not implemented"); }
+{ caml_invalid_argument("getservbyport not implemented"); }
CAMLprim value unix_getservbyname(value name, value proto)
-{ invalid_argument("getservbyname not implemented"); }
+{ caml_invalid_argument("getservbyname not implemented"); }
#endif