]> git.ipfire.org Git - thirdparty/systemd.git/commit
util-lib: fix a typo in rdrand
authorEvgeny Vereshchagin <evvers@ya.ru>
Wed, 8 May 2019 13:50:53 +0000 (15:50 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 8 May 2019 14:10:06 +0000 (16:10 +0200)
commit7f2cdceaed4d37c4e601e531c7d863fca1bd1460
treed35114cb32692bc790a7f2ea0d6f569456922390
parentfd0a16d8a5d05dca1c09fa09811f5805b6acff75
util-lib: fix a typo in rdrand

Otherwise, the fuzzers will fail to compile with MSan:
```
../../src/systemd/src/basic/random-util.c:64:40: error: use of undeclared identifier 'sucess'; did you mean 'success'?
        msan_unpoison(&success, sizeof(sucess));
                                       ^~~~~~
                                       success
../../src/systemd/src/basic/alloc-util.h:169:50: note: expanded from macro 'msan_unpoison'
                                                 ^
../../src/systemd/src/basic/random-util.c:38:17: note: 'success' declared here
        uint8_t success;
                ^
1 error generated.
[80/545] Compiling C object 'src/basic/a6ba3eb@@basic@sta/process-util.c.o'.
ninja: build stopped: subcommand failed.
Fuzzers build failed
```
src/basic/random-util.c