aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/random
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2013-10-10 07:39:19 +0000
committerMark Murray <markm@FreeBSD.org>2013-10-10 07:39:19 +0000
commit663c239342f84ccdbb8f2f4279b8cbbefb7e6995 (patch)
tree7dfa2282243c4f36df6ab294efeb37cde50d31f8 /sys/dev/random
parent72acff0f0739c15da62b5b5156bd47eff0b43f21 (diff)
Notes
Diffstat (limited to 'sys/dev/random')
-rw-r--r--sys/dev/random/random_harvestq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/random/random_harvestq.c b/sys/dev/random/random_harvestq.c
index 471a26611909..b7b8381c8eb5 100644
--- a/sys/dev/random/random_harvestq.c
+++ b/sys/dev/random/random_harvestq.c
@@ -129,7 +129,7 @@ random_harvestq_cache(void *arg __unused)
for (entropy_file = entropy_files; *entropy_file; entropy_file++) {
error = randomdev_read_file(*entropy_file, data, PAGE_SIZE);
if (error == 0) {
- printf("random: entropy cache '%s' provides %d bytes\n", *entropy_file, PAGE_SIZE);
+ printf("random: entropy cache '%s' provides %ld bytes\n", *entropy_file, (long)PAGE_SIZE);
error = randomdev_write_file(*entropy_file, zbuf, PAGE_SIZE);
if (error == 0) {
printf("random: entropy cache '%s' contents used and successfully overwritten\n", *entropy_file);