advio: make read_adv() distinguish ENOENT from other errors
authorH. Peter Anvin <hpa@linux.intel.com>
Thu, 24 Jun 2010 20:03:35 +0000 (13:03 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 24 Jun 2010 20:03:35 +0000 (13:03 -0700)
commitd52b620e4f296cd1cb48afdcead64fc1b040e0dc
tree3b632b278cfc6da652080b72cb35d150c9adb367
parente20df33ead999ba1247d57c89065c8d1ac3e7075
advio: make read_adv() distinguish ENOENT from other errors

Make it possible to distinguish ENOENT from other "non-fatal" errors
in read_adv(), so we can try more than one filename.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
libinstaller/advio.c