summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2009-04-16 07:23:35 +0000
committerXavier Leroy <xavier.leroy@inria.fr>2009-04-16 07:23:35 +0000
commit5ba174438fe1d6038f483676aba2ad65eb7b709b (patch)
tree152de21d5229e0fa8c0a5ca8f00cd8f830af094f /otherlibs/unix
parent6317d017cda0b1e67665c985f8aa46b126684175 (diff)
Typo in error message
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9235 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/unix')
-rw-r--r--otherlibs/unix/initgroups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/unix/initgroups.c b/otherlibs/unix/initgroups.c
index ff81e8842..df358dae1 100644
--- a/otherlibs/unix/initgroups.c
+++ b/otherlibs/unix/initgroups.c
@@ -30,7 +30,7 @@
CAMLprim value unix_initgroups(value user, value group)
{
if (initgroups(String_val(user), Int_val(group)) == -1) {
- uerror("setgroups", Nothing);
+ uerror("initgroups", Nothing);
}
return Val_unit;
}