Use cgbase() instead of doing arithmetic on fs_fpg, for the former does
authormiod <miod@openbsd.org>
Tue, 22 Jul 2008 18:44:25 +0000 (18:44 +0000)
committermiod <miod@openbsd.org>
Tue, 22 Jul 2008 18:44:25 +0000 (18:44 +0000)
commitdb47007f6a10ab673388a12a5beb1a9ef485801a
tree52ca05778404ec51de11cc12949bccdb54dd0af4
parent5088440718083bde599de10cfa93d52543b2e31d
Use cgbase() instead of doing arithmetic on fs_fpg, for the former does
proper casts to ensure the result is not truncated.
From FreeBSD via NetBSD. ok thib@
sys/ufs/ffs/ffs_alloc.c