diff --git a/src/elogd.c b/src/elogd.c index c9d83837..c9d0660c 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -10489,7 +10489,7 @@ void load_config_section(char *section, char **buffer, char *error) *buffer = NULL; fh = open(config_file, O_RDONLY | O_BINARY); if (fh < 0) { - sprintf(error, "Cannot read configuration file \"%s\"", config_file); + sprintf(error, "Cannot read configuration file \"%s\": %s", config_file, strerror(errno)); return; } length = lseek(fh, 0, SEEK_END); @@ -10612,6 +10612,7 @@ void show_admin_page(LOGBOOK * lbs, char *top_group) load_config_section(section, &buffer, error_str); if (error_str[0]) { + rsprintf("