diff options
author | ken <ken@FreeBSD.org> | 2015-12-04 03:44:12 +0000 |
---|---|---|
committer | ken <ken@FreeBSD.org> | 2015-12-04 03:44:12 +0000 |
commit | 5a6402b7b4b65d5b297a1fa59523fdc1d03631de (patch) | |
tree | c2b4c4b3c080c8ff014611106256b4c158b0089d | |
parent | 134df9b39d33d06bb7a0f331372a746260cddc20 (diff) | |
download | FreeBSD-src-5a6402b7b4b65d5b297a1fa59523fdc1d03631de.zip FreeBSD-src-5a6402b7b4b65d5b297a1fa59523fdc1d03631de.tar.gz |
Fix a style issue in g_disk_limit().
Noticed by: bdrewery
MFC after: 1 week
-rw-r--r-- | sys/geom/geom_disk.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/geom/geom_disk.c b/sys/geom/geom_disk.c index 7d31897..1943430 100644 --- a/sys/geom/geom_disk.c +++ b/sys/geom/geom_disk.c @@ -358,7 +358,9 @@ static bool g_disk_limit(struct disk *dp, struct bio *bp) { bool limited = false; - off_t maxsz = g_disk_maxsize(dp, bp); + off_t maxsz; + + maxsz = g_disk_maxsize(dp, bp); /* * XXX: If we have a stripesize we should really use it here. |