summaryrefslogtreecommitdiff
path: root/sysdeps/unix/bsd/seteuid.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/bsd/seteuid.c')
-rw-r--r--sysdeps/unix/bsd/seteuid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/bsd/seteuid.c b/sysdeps/unix/bsd/seteuid.c
index f6aa37f153..06fd1a3f29 100644
--- a/sysdeps/unix/bsd/seteuid.c
+++ b/sysdeps/unix/bsd/seteuid.c
@@ -26,7 +26,7 @@ seteuid (uid)
{
if (uid == (uid_t) ~0)
{
- errno = EINVAL;
+ __set_errno (EINVAL);
return -1;
}