diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-12-14 19:02:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-14 19:02:29 +0100 |
commit | fbd0b64f44a7bae678137d67ad5da202f6b8d809 (patch) | |
tree | 0402dca4e258583e009d07c0d8eb9c0fad19d5ac /src/fsck | |
parent | Merge pull request #7610 from poettering/stdio-nolocking (diff) | |
download | systemd-fbd0b64f44a7bae678137d67ad5da202f6b8d809.tar.xz systemd-fbd0b64f44a7bae678137d67ad5da202f6b8d809.zip |
tree-wide: make use of new STRLEN() macro everywhere (#7639)
Let's employ coccinelle to do this for us.
Follow-up for #7625.
Diffstat (limited to 'src/fsck')
-rw-r--r-- | src/fsck/fsck.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fsck/fsck.c b/src/fsck/fsck.c index 6290abdc1b..0091e388dc 100644 --- a/src/fsck/fsck.c +++ b/src/fsck/fsck.c @@ -398,7 +398,7 @@ int main(int argc, char *argv[]) { goto finish; } if (pid == 0) { - char dash_c[sizeof("-C")-1 + DECIMAL_STR_MAX(int) + 1]; + char dash_c[STRLEN("-C") + DECIMAL_STR_MAX(int) + 1]; int progress_socket = -1; const char *cmdline[9]; int i = 0; |