diff options
Diffstat (limited to 'login/getutline_r.c')
-rw-r--r-- | login/getutline_r.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/login/getutline_r.c b/login/getutline_r.c index e5c41966c6..e88267decb 100644 --- a/login/getutline_r.c +++ b/login/getutline_r.c @@ -48,7 +48,7 @@ __getutline_r (const struct utmp *line, struct utmp **utmp, != sizeof (struct utmp)) { utmp_data->loc_utmp = 0; /* Mark UTMP_DATA->ubuf invalid. */ - errno = ESRCH; + __set_errno (ESRCH); return -1; } |