From 1ec1d8a64a0f899adecc1248d6acaff0cf038e35 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 13 Jul 2019 15:55:44 +0000 Subject: Clean up formatting --- src/utmps/utmps-utmpd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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") ; } -- cgit v1.2.3