summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-07-03 07:36:15 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-07-03 10:44:28 +0200
commitdb2f8a2e8aae680cb98c0e7da9e0533e0aa8021f (patch)
treeee521cc01f0213876232fe57cf7ffb78c991c3c6 /src/network
parentresolved: fix typo in log message (diff)
downloadsystemd-db2f8a2e8aae680cb98c0e7da9e0533e0aa8021f.tar.xz
systemd-db2f8a2e8aae680cb98c0e7da9e0533e0aa8021f.zip
tree-wide: add a space after (void)
Diffstat (limited to 'src/network')
-rw-r--r--src/network/networkd-link.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index 4afcf843bd..b16b13178a 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -413,7 +413,7 @@ static int link_new(Manager *manager, sd_netlink_message *message, Link **ret) {
/* check for link kind */
r = sd_netlink_message_enter_container(message, IFLA_LINKINFO);
if (r == 0) {
- (void)sd_netlink_message_read_string(message, IFLA_INFO_KIND, &kind);
+ (void) sd_netlink_message_read_string(message, IFLA_INFO_KIND, &kind);
r = sd_netlink_message_exit_container(message);
if (r < 0)
return r;
@@ -537,7 +537,7 @@ static void link_free(Link *link) {
free(link->kind);
- (void)unlink(link->state_file);
+ (void) unlink(link->state_file);
free(link->state_file);
udev_device_unref(link->udev_device);
@@ -2257,7 +2257,7 @@ void link_drop(Link *link) {
log_link_debug(link, "Link removed");
- (void)unlink(link->state_file);
+ (void) unlink(link->state_file);
link_unref(link);
return;