altos: Check requested log max size against available space
authorKeith Packard <keithp@keithp.com>
Sat, 8 Jan 2011 04:25:09 +0000 (20:25 -0800)
committerKeith Packard <keithp@keithp.com>
Sat, 8 Jan 2011 04:25:09 +0000 (20:25 -0800)
commit00891b40754962ef6530b237ef52017bb58112d5
treee2211b411eb8833938452b5d121c2375d6fcf122
parentbbddcae2a15b6d430e84956ddf26955aa9173cc0
altos: Check requested log max size against available space

Make sure the amount of memory requested for a single log isn't more
than is available on the device.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/ao_config.c