diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/utmps/utmps-utmpd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/utmps/utmps-utmpd.c b/src/utmps/utmps-utmpd.c index 9fa66d3..831ee68 100644 --- a/src/utmps/utmps-utmpd.c +++ b/src/utmps/utmps-utmpd.c @@ -62,14 +62,14 @@ static void maybe_open (void) static int read_utmp_entry_unlocked (char *s) { - ssize_t r = read(fd, s, sizeof(struct utmpx)) ; + ssize_t r = read(fd, s, sizeof(struct utmpx)) ; if (r < 0) goto err ; if (!r) return 0 ; if (r == sizeof(struct utmpx)) return 1 ; errno = EPIPE ; - err: - unlink_void("utmp") ; - answer(errno) ; + err: + unlink_void("utmp") ; + answer(errno) ; strerr_diefu1sys(111, "read utmp file") ; } |