diff options
Diffstat (limited to 'otherlibs/unix/getgr.c')
-rw-r--r-- | otherlibs/unix/getgr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/otherlibs/unix/getgr.c b/otherlibs/unix/getgr.c index efb55b9b5..7cec68101 100644 --- a/otherlibs/unix/getgr.c +++ b/otherlibs/unix/getgr.c @@ -29,7 +29,7 @@ value unix_getgrnam(name) /* ML */ { struct group * entry; entry = getgrnam(String_val(name)); - if (entry == NULL) mlraise(Atom(NOT_FOUND_EXN)); + if (entry == NULL) raise_not_found(); return alloc_group_entry(entry); } @@ -38,6 +38,6 @@ value unix_getgrgid(gid) /* ML */ { struct group * entry; entry = getgrgid(Int_val(gid)); - if (entry == NULL) mlraise(Atom(NOT_FOUND_EXN)); + if (entry == NULL) raise_not_found(); return alloc_group_entry(entry); } |