diff options
Diffstat (limited to 'sysdeps/unix/getlogin_r.c')
-rw-r--r-- | sysdeps/unix/getlogin_r.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/getlogin_r.c b/sysdeps/unix/getlogin_r.c index 154a9d3a59..f80b2c7518 100644 --- a/sysdeps/unix/getlogin_r.c +++ b/sysdeps/unix/getlogin_r.c @@ -53,7 +53,7 @@ getlogin_r (name, name_len) if (result < 0) { - errno = err; + __set_errno (err); return err; } } |