From 2560e53f703a5017a77ef600b1c0aec63fab4e9f Mon Sep 17 00:00:00 2001 From: Damien Doligez Date: Thu, 15 Apr 2004 16:18:16 +0000 Subject: [PATCH] PR#2352, suite git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6210 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02 --- byterun/sys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/byterun/sys.c b/byterun/sys.c index 2437693fa..f04d676f5 100644 --- a/byterun/sys.c +++ b/byterun/sys.c @@ -179,7 +179,7 @@ CAMLprim value caml_sys_remove(value name) CAMLprim value caml_sys_rename(value oldname, value newname) { if (rename(String_val(oldname), String_val(newname)) != 0) - caml_sys_error("Sys.rename"); + caml_sys_error(NO_ARG); return Val_unit; }