summaryrefslogtreecommitdiff
path: root/src/udev/udev-ctrl.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-11-26 11:53:21 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-11-26 11:53:21 +0900
commit49c603bd5ef9c36052623d820ab361a6d99173de (patch)
tree81b5aea8a2121497010ee6fc58a972ed22a8d08b /src/udev/udev-ctrl.c
parent572909a38a1b05556530a364ff60bbeda828a1da (diff)
downloadsystemd-49c603bd5ef9c36052623d820ab361a6d99173de.tar.gz
udev: drop duplicate whitespaces
Diffstat (limited to 'src/udev/udev-ctrl.c')
-rw-r--r--src/udev/udev-ctrl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udev/udev-ctrl.c b/src/udev/udev-ctrl.c
index c4abe4fc7e..6ea74c7bf7 100644
--- a/src/udev/udev-ctrl.c
+++ b/src/udev/udev-ctrl.c
@@ -245,7 +245,7 @@ static int ctrl_send(struct udev_ctrl *uctrl, enum udev_ctrl_msg_type type, int
pfd[0].fd = uctrl->sock;
pfd[0].events = POLLIN;
r = poll(pfd, 1, timeout * MSEC_PER_SEC);
- if (r < 0) {
+ if (r < 0) {
if (errno == EINTR)
continue;
err = -errno;
@@ -327,7 +327,7 @@ struct udev_ctrl_msg *udev_ctrl_receive_msg(struct udev_ctrl_connection *conn) {
pfd[0].events = POLLIN;
r = poll(pfd, 1, 10000);
- if (r < 0) {
+ if (r < 0) {
if (errno == EINTR)
continue;
goto err;