aboutsummaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-02-03 12:42:48 -0800
committerH. Peter Anvin <hpa@zytor.com>2007-02-03 12:42:48 -0800
commit7cfd6f9dd9a73eb18c10948aaa0e56a52e0a4228 (patch)
tree1ec15e33cea1e05623f092c738410f0876339ccf /unix
parentab021ddc666e1708185ec7014382586cf0bab17d (diff)
downloadsyslinux-elf-7cfd6f9dd9a73eb18c10948aaa0e56a52e0a4228.tar.gz
syslinux-elf-7cfd6f9dd9a73eb18c10948aaa0e56a52e0a4228.tar.xz
syslinux-elf-7cfd6f9dd9a73eb18c10948aaa0e56a52e0a4228.zip
Unix FAT inst: fix the order of stitched strings.syslinux-3.36-pre3
Diffstat (limited to 'unix')
-rw-r--r--unix/syslinux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/syslinux.c b/unix/syslinux.c
index d31e01f3..aa6a0037 100644
--- a/unix/syslinux.c
+++ b/unix/syslinux.c
@@ -464,7 +464,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;