Mailing List Archive

[master] bc7ac9c80 vrnd: Typo
commit bc7ac9c8089a135f0b0de8133c1f19a7e62772e7
Author: Dridi Boukelmoune <dridi.boukelmoune@gmail.com>
Date: Tue Nov 23 07:47:19 2021 +0100

vrnd: Typo

diff --git a/lib/libvarnish/vrnd.c b/lib/libvarnish/vrnd.c
index 8e189f771..d72b697ad 100644
--- a/lib/libvarnish/vrnd.c
+++ b/lib/libvarnish/vrnd.c
@@ -53,7 +53,7 @@ vrnd_lock_f *VRND_Unlock;

/**********************************************************************
* Stripped down random(3) implementation from FreeBSD, to provide
- * predicatable "random" numbers of testing purposes.
+ * predictable "random" numbers of testing purposes.
*/

#define TYPE_3 3 /* x**31 + x**3 + 1 */
@@ -83,7 +83,7 @@ good_rand(uint32_t ctx)
{
/*
* Compute x = (7^5 * x) mod (2^31 - 1)
- * wihout overflowing 31 bits:
+ * without overflowing 31 bits:
* (2^31 - 1) = 127773 * (7^5) + 2836
* From "Random number generators: good ones are hard to find",
* Park and Miller, Communications of the ACM, vol. 31, no. 10,
_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit