aboutsummaryrefslogtreecommitdiff
path: root/login/login.c
diff options
context:
space:
mode:
Diffstat (limited to 'login/login.c')
-rw-r--r--login/login.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/login/login.c b/login/login.c
index a53613f..00b176a 100644
--- a/login/login.c
+++ b/login/login.c
@@ -62,7 +62,7 @@ tty_name (int fd, char **tty, size_t buf_len)
if (! new_buf)
{
rv = -1;
- errno = ENOMEM;
+ __set_errno (ENOMEM);
break;
}
}