altos: Make ao_fat_readdir return real error values instead of 1/0
authorKeith Packard <keithp@keithp.com>
Sun, 31 Mar 2013 23:10:33 +0000 (16:10 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 31 Mar 2013 23:10:33 +0000 (16:10 -0700)
commit659a6915f5ba5129096e55ccc04c975d216546ae
treec554a53fd82a6620b66b760bb9caeaf54607aaea
parent182ceaac7d91dc6e9ebac6455d5de0c10687796b
altos: Make ao_fat_readdir return real error values instead of 1/0

This way, we can distinguish between 'something bad happened' and
'you're at the end of the directory'.

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