summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>1996-03-24 16:20:50 +0000
committerXavier Leroy <xavier.leroy@inria.fr>1996-03-24 16:20:50 +0000
commit7e03b98f6f56be5cc55a9a7cedd024d58395466a (patch)
treebdd26850f7a91d51a9c90b86b854183abc0a57d8 /otherlibs/unix
parent618a69cee81ddfec704300e231dbf28b4600ff6f (diff)
Mauvais rapport d'erreur
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@712 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/unix')
-rw-r--r--otherlibs/unix/getcwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/unix/getcwd.c b/otherlibs/unix/getcwd.c
index c4a29b8d5..6a961d76d 100644
--- a/otherlibs/unix/getcwd.c
+++ b/otherlibs/unix/getcwd.c
@@ -34,7 +34,7 @@ value unix_getcwd() /* ML */
value unix_getcwd()
{
char buff[MAXPATHLEN];
- if (getwd(buff) == 0) uerror("getcwd", alloc_string(buff));
+ if (getwd(buff) == 0) uerror("getcwd", copy_string(buff));
return copy_string(buff);
}