[master] 32d1fc7fa Flexelinting
Poul-Henning Kamp
phk at FreeBSD.org
Wed Jan 10 12:58:05 UTC 2024
commit 32d1fc7fa7f39dd26f77554e5f3f74fb644a5894
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Wed Jan 10 12:57:40 2024 +0000
Flexelinting
diff --git a/bin/varnishd/storage/storage_file.c b/bin/varnishd/storage/storage_file.c
index 4a01ae6d2..299464e19 100644
--- a/bin/varnishd/storage/storage_file.c
+++ b/bin/varnishd/storage/storage_file.c
@@ -424,7 +424,7 @@ smf_open(struct stevedore *st)
ARGV_ERR(
"-sfile too small for this architecture,"
" minimum size is %jd MB\n",
- (MINPAGES * (intmax_t)getpagesize()) >> 20
+ (MINPAGES * (intmax_t)getpagesize()) / (1<<20)
);
}
printf("SMF.%s mmap'ed %ju bytes of %ju\n",
More information about the varnish-commit
mailing list