diff --git a/man/systemd.network.xml b/man/systemd.network.xml index 2ee8a6ab48..9c11c5c3dd 100644 --- a/man/systemd.network.xml +++ b/man/systemd.network.xml @@ -1274,7 +1274,7 @@ allow my_server_t localnet_peer_t:peer recv; Table= - Specifies the routing table identifier to lookup if the rule selector matches. Takes + Specifies the routing table identifier to look up if the rule selector matches. Takes one of predefined names default, main, and local, and names defined in RouteTable= in networkd.conf5, diff --git a/src/libsystemd/sd-event/sd-event.c b/src/libsystemd/sd-event/sd-event.c index 778070a5fb..eb7a37ce68 100644 --- a/src/libsystemd/sd-event/sd-event.c +++ b/src/libsystemd/sd-event/sd-event.c @@ -2171,9 +2171,9 @@ _public_ int sd_event_add_inotify( assert_return(path, -EINVAL); - fd = open(path, O_PATH|O_CLOEXEC| - (mask & IN_ONLYDIR ? O_DIRECTORY : 0)| - (mask & IN_DONT_FOLLOW ? O_NOFOLLOW : 0)); + fd = open(path, O_PATH | O_CLOEXEC | + (mask & IN_ONLYDIR ? O_DIRECTORY : 0) | + (mask & IN_DONT_FOLLOW ? O_NOFOLLOW : 0)); if (fd < 0) return -errno; diff --git a/src/udev/udevadm-settle.c b/src/udev/udevadm-settle.c index f093b7cbe8..c236a7047a 100644 --- a/src/udev/udevadm-settle.c +++ b/src/udev/udevadm-settle.c @@ -217,11 +217,10 @@ int settle_main(int argc, char *argv[], void *userdata) { return log_error_errno(r, "Failed to wait for daemon to reply: %m"); } else { /* For non-privileged users, at least check if udevd is running. */ - if (access("/run/udev/control", F_OK) < 0) { - if (errno == ENOENT) - return log_error_errno(errno, "systemd-udevd is not running."); - return log_error_errno(errno, "Failed to check if /run/udev/control exists: %m"); - } + if (access("/run/udev/control", F_OK) < 0) + return log_error_errno(errno, + errno == ENOENT ? "systemd-udevd is not running." : + "Failed to check if /run/udev/control exists: %m"); } r = sd_event_default(&event);