diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2019-07-13 15:55:44 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-07-13 15:55:44 +0000 |
commit | 1ec1d8a64a0f899adecc1248d6acaff0cf038e35 (patch) | |
tree | 1055833bea040bacbd367b186082989e62a55b8a | |
parent | 13d098c6d737623ea5038b3e348751b5ebf11fa2 (diff) | |
download | utmps-1ec1d8a64a0f899adecc1248d6acaff0cf038e35.tar.xz |
Clean up formatting
-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") ; } |