X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fbasic%2Frandom-util.c;h=ad7b3eedf2c1d5ffb7ca92662bff43e070878872;hb=3835ce8528f80dc21606c6c01b90423ba317289b;hp=34cc7cbcee32fc3008c1a3fcba5ed1055ca8520c;hpb=9e830df83c27d0d757df16904ec23b3844da2733;p=elogind.git
diff --git a/src/basic/random-util.c b/src/basic/random-util.c
index 34cc7cbce..ad7b3eedf 100644
--- a/src/basic/random-util.c
+++ b/src/basic/random-util.c
@@ -17,23 +17,24 @@
along with systemd; If not, see .
***/
+#include
#include
#include
+#include
+#include
+#include
#include
#include
+
#ifdef HAVE_SYS_AUXV_H
#include
#endif
-#include
-#include
-#include
#include "fd-util.h"
#include "io-util.h"
#include "missing.h"
#include "random-util.h"
#include "time-util.h"
-#include "util.h"
int dev_urandom(void *p, size_t n) {
static int have_syscall = -1;
@@ -45,7 +46,7 @@ int dev_urandom(void *p, size_t n) {
* never block, and will always return some data from the
* kernel, regardless if the random pool is fully initialized
* or not. It thus makes no guarantee for the quality of the
- * returned entropy, but is good enough for or usual usecases
+ * returned entropy, but is good enough for our usual usecases
* of seeding the hash functions for hashtable */
/* Use the getrandom() syscall unless we know we don't have