aboutsummaryrefslogtreecommitdiffstats
path: root/unix/syslinux.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix/syslinux.c')
-rw-r--r--unix/syslinux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/syslinux.c b/unix/syslinux.c
index 8b5a4cf6..4270d728 100644
--- a/unix/syslinux.c
+++ b/unix/syslinux.c
@@ -465,7 +465,7 @@ int main(int argc, char *argv[])
goto umount;
}
sprintf(ldlinux_name, "%s%s%s//ldlinux.sys",
- subdir ? "//" : "", subdir ? subdir : "", mntpath);
+ mntpath, subdir ? "//" : "", subdir ? subdir : "");
if ((fd = open(ldlinux_name, O_RDONLY)) >= 0) {
uint32_t zero_attr = 0;