Mailing List Archive

[master] 32d1fc7fa Flexelinting
commit 32d1fc7fa7f39dd26f77554e5f3f74fb644a5894
Author: Poul-Henning Kamp <phk@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",
_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit