summaryrefslogtreecommitdiffstats
path: root/loader
diff options
context:
space:
mode:
Diffstat (limited to 'loader')
-rw-r--r--loader/hdinstall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/hdinstall.c b/loader/hdinstall.c
index 3e56e0d02..ccee847a3 100644
--- a/loader/hdinstall.c
+++ b/loader/hdinstall.c
@@ -339,7 +339,7 @@ char * mountHardDrive(struct installMethod * method,
*/
substr = strstr(dir, ".img");
if (!substr || (substr && *(substr+4) != '\0')) {
- if (asprintf(&dir, "%s/install.img", dir) == -1) {
+ if (asprintf(&dir, "%s/images/install.img", dir) == -1) {
logMessage(CRITICAL, "%s: %d: %m", __func__, __LINE__);
abort();
}