summaryrefslogtreecommitdiffstats
path: root/src/libsystemd/sd-device
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-12-24 17:41:11 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-12-24 17:56:40 +0100
commitb3a9d980f303ab49614eee336fb9c54e98c9e530 (patch)
treeffbbf6e04bcd4ba9f15dcd93e1c61cc0ab4ac672 /src/libsystemd/sd-device
parenttree-wide: insert space after for and switch (diff)
downloadsystemd-b3a9d980f303ab49614eee336fb9c54e98c9e530.tar.xz
systemd-b3a9d980f303ab49614eee336fb9c54e98c9e530.zip
tree-wide: drop space between variable and an increment/decrement
Diffstat (limited to 'src/libsystemd/sd-device')
-rw-r--r--src/libsystemd/sd-device/sd-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-device/sd-device.c b/src/libsystemd/sd-device/sd-device.c
index 1847ca4de0..071e72707e 100644
--- a/src/libsystemd/sd-device/sd-device.c
+++ b/src/libsystemd/sd-device/sd-device.c
@@ -2488,7 +2488,7 @@ _public_ int sd_device_set_sysattr_value(sd_device *device, const char *sysattr,
/* drop trailing newlines */
while (len > 0 && strchr(NEWLINE, _value[len - 1]))
- len --;
+ len--;
/* value length is limited to 4k */
if (len > 4096)