diff options
Diffstat (limited to 'login/pututline_r.c')
-rw-r--r-- | login/pututline_r.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/login/pututline_r.c b/login/pututline_r.c index 55436bf2b8..42ea3cd778 100644 --- a/login/pututline_r.c +++ b/login/pututline_r.c @@ -45,7 +45,7 @@ __pututline_r (const struct utmp *id, struct utmp_data *utmp_data) && id->ut_type != USER_PROCESS && id->ut_type != DEAD_PROCESS) /* No, using '<' and '>' for the test is not possible. */ { - errno = EINVAL; + __set_errno (EINVAL); return -1; } #endif |