ldlinux: Use open_config() to open config files
authorMatt Fleming <matt.fleming@linux.intel.com>
Mon, 6 Jun 2011 21:45:33 +0000 (22:45 +0100)
committerMatt Fleming <matt.fleming@linux.intel.com>
Tue, 7 Jun 2011 12:06:25 +0000 (13:06 +0100)
commite298faf1adc98fdb5f69debe15569a734d5adfa1
tree6b6af93aaf5dca90fe27440f97ecce27ec57d7d7
parente7d484dfec2e4e807503dce754be6c54574e4d98
ldlinux: Use open_config() to open config files

Instead of duplicating the logic for finding config files on different
filesystems in both ldlinux/readconfig.c and core/fs/* use the
open_config() wrapper that calls into the fs-specific open_config().

Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
com32/elflink/ldlinux/readconfig.c