]> git.ipfire.org Git - thirdparty/systemd.git/commit
random-util: fix compilation error
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 15 Jan 2025 16:29:04 +0000 (01:29 +0900)
committerMike Yuan <me@yhndnzj.com>
Wed, 15 Jan 2025 19:24:30 +0000 (20:24 +0100)
commite722fe74ca5e00d3c8a5f85342b75c40ace051f9
treeb52805718739bb3ba41fcca879cf07a83a99f4c2
parentcc7300fc5868f6d47f3f47076100b574bf54e58d
random-util: fix compilation error

Fixes the following error:
```
../src/basic/random-util.c: In function "fallback_random_bytes":
../src/basic/random-util.c:45:26: error: initializer-string for array of "char" is too long [-Werror=unterminated-string-initialization]
   45 |                 .label = "systemd fallback random bytes v1",
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
```
src/basic/random-util.c