Rectification de l'appel de unix_error.

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@494 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Xavier Leroy 1995-11-29 13:38:09 +00:00
parent 18e825ee64
commit 49d5e3a750
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ value unix_getcwd() /* ML */
value unix_getcwd()
{
char buff[MAXPATHLEN];
if (getwd(buff) == 0) uerror("getcwd", buff);
if (getwd(buff) == 0) uerror("getcwd", alloc_string(buff));
return copy_string(buff);
}