summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/getpw.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/getpw.c')
-rw-r--r--otherlibs/unix/getpw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/otherlibs/unix/getpw.c b/otherlibs/unix/getpw.c
index 86d27474a..6a00f0fe9 100644
--- a/otherlibs/unix/getpw.c
+++ b/otherlibs/unix/getpw.c
@@ -33,7 +33,7 @@ value unix_getpwnam(name) /* ML */
{
struct passwd * entry;
entry = getpwnam(String_val(name));
- if (entry == (struct passwd *) NULL) mlraise(Atom(NOT_FOUND_EXN));
+ if (entry == (struct passwd *) NULL) raise_not_found();
return alloc_passwd_entry(entry);
}
@@ -42,6 +42,6 @@ value unix_getpwuid(uid) /* ML */
{
struct passwd * entry;
entry = getpwuid(Int_val(uid));
- if (entry == (struct passwd *) NULL) mlraise(Atom(NOT_FOUND_EXN));
+ if (entry == (struct passwd *) NULL) raise_not_found();
return alloc_passwd_entry(entry);
}