diff options
-rw-r--r-- | src/rest.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1140,10 +1140,10 @@ static int og_get_boot_modes(struct list_head *boot_mode_list) struct dirent *dent; DIR *d; - d = opendir(OG_TFTP_TMPL_PATH); + d = opendir(OG_TFTP_TMPL_PATH_UEFI); if (!d) { syslog(LOG_ERR, "Cannot open directory %s (%s:%d)\n", - OG_TFTP_TMPL_PATH, __func__, __LINE__); + OG_TFTP_TMPL_PATH_UEFI, __func__, __LINE__); return -1; } |