ITS#7959 fix prev commit
authorHoward Chu <hyc@symas.com>
Wed, 8 Oct 2014 18:25:27 +0000 (19:25 +0100)
committerHoward Chu <hyc@symas.com>
Wed, 8 Oct 2014 18:25:27 +0000 (19:25 +0100)
commit925e7805a5b2d4bc2d464ea5acd5ff38ff209bde
tree88372eaae1f59507d495d8ca28f4ad2e02012f42
parentd72b2f5d15319cb1424476dd3afc8528630461e4
ITS#7959 fix prev commit

fstat returns -1, not an errno. Move code into its own function
for reuse.
libraries/liblmdb/mdb.c