mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Fix a constant printf which is (int) on some architectures and (long int) on others.
This commit is contained in:
parent
72acff0f07
commit
663c239342
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue