summaryrefslogtreecommitdiffstats
path: root/src/basic/random-util.c
diff options
context:
space:
mode:
authorTorstein Husebø <torstein@huseboe.net>2017-08-08 16:05:29 +0200
committerFelipe Sateler <fsateler@users.noreply.github.com>2017-08-08 16:05:29 +0200
commited88a9007a9e45e31d9100c965ab3f94370ec801 (patch)
tree90624ddfc38b9a67006609d4761d0963ae732f7f /src/basic/random-util.c
parentsd-bus: free everything when bus_set_address_user fails (#6552) (diff)
downloadsystemd-ed88a9007a9e45e31d9100c965ab3f94370ec801.tar.xz
systemd-ed88a9007a9e45e31d9100c965ab3f94370ec801.zip
treewide: fix typos (#6566)
Diffstat (limited to 'src/basic/random-util.c')
-rw-r--r--src/basic/random-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/random-util.c b/src/basic/random-util.c
index 810eeab4d5..42f484d687 100644
--- a/src/basic/random-util.c
+++ b/src/basic/random-util.c
@@ -64,7 +64,7 @@ int acquire_random_bytes(void *p, size_t n, bool high_quality_required) {
if ((size_t) r == n)
return 0;
if (!high_quality_required) {
- /* Fill in the remaing bytes using pseudorandom values */
+ /* Fill in the remaining bytes using pseudorandom values */
pseudorandom_bytes((uint8_t*) p + r, n - r);
return 0;
}