diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-11-19 11:10:54 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-11-19 11:10:54 -0800 |
commit | 96d7ea4c8a3132df0e2af64215b1386095346e84 (patch) | |
tree | 03a9e225f0ee5de3df1be068f36694f141b084a7 /com32/menu/readconfig.c | |
parent | 709cdd1bfa7aace9c76016a15f55b3005b843cc8 (diff) | |
download | syslinux-96d7ea4c8a3132df0e2af64215b1386095346e84.tar.gz syslinux-96d7ea4c8a3132df0e2af64215b1386095346e84.tar.xz syslinux-96d7ea4c8a3132df0e2af64215b1386095346e84.zip |
menu: debugging hooks
Add (disabled) debugging hooks to the menu system.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/menu/readconfig.c')
-rw-r--r-- | com32/menu/readconfig.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/com32/menu/readconfig.c b/com32/menu/readconfig.c index 1aad5958..135769e1 100644 --- a/com32/menu/readconfig.c +++ b/com32/menu/readconfig.c @@ -959,7 +959,11 @@ static int parse_one_config(const char *filename) if (!strcmp(filename, "~")) filename = syslinux_config_file(); + dprintf("Opening config file: %s ", filename); + f = fopen(filename, "r"); + dprintf("%s\n", f ? "ok" : "failed"); + if (!f) return -1; |