diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-12-24 17:41:11 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-12-24 17:56:40 +0100 |
commit | b3a9d980f303ab49614eee336fb9c54e98c9e530 (patch) | |
tree | ffbbf6e04bcd4ba9f15dcd93e1c61cc0ab4ac672 /src/libsystemd/sd-device | |
parent | tree-wide: insert space after for and switch (diff) | |
download | systemd-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.c | 2 |
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) |