summaryrefslogtreecommitdiff
path: root/src/fsckd/fsckd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fsckd/fsckd.c')
-rw-r--r--src/fsckd/fsckd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fsckd/fsckd.c b/src/fsckd/fsckd.c
index df413fbb83..d4e9896e91 100644
--- a/src/fsckd/fsckd.c
+++ b/src/fsckd/fsckd.c
@@ -520,12 +520,12 @@ int main(int argc, char *argv[]) {
if (n > 1) {
log_error("Too many file descriptors received.");
return EXIT_FAILURE;
- } else if (n == 1) {
+ } else if (n == 1)
fd = SD_LISTEN_FDS_START + 0;
- } else {
+ else {
fd = make_socket_fd(LOG_DEBUG, FSCKD_SOCKET_PATH, SOCK_STREAM | SOCK_CLOEXEC);
if (fd < 0) {
- log_error_errno(r, "Couldn't create listening socket fd on %s: %m", FSCKD_SOCKET_PATH);
+ log_error_errno(fd, "Couldn't create listening socket fd on %s: %m", FSCKD_SOCKET_PATH);
return EXIT_FAILURE;
}
}