sbin/newfs_hammer: Allow 0 for boot_area/memory_log size [1/3]
commit825a2db229351bed4bc88feb5fe07bd4962cd916
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sat, 29 Oct 2016 14:53:41 +0000 (29 23:53 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sun, 30 Oct 2016 03:31:12 +0000 (30 12:31 +0900)
treefb2d3bacd69c3c1ee78c543b7d78c78b2578ca0a
parent3e7805d7328b1b670f9c95e6deaf2efd05a20067
sbin/newfs_hammer: Allow 0 for boot_area/memory_log size [1/3]

This is for the next few commits.
Add a function to check size, and don't use size checks in getsize().
sbin/newfs_hammer/newfs_hammer.c