aboutsummaryrefslogtreecommitdiffstats
path: root/unix/syslinux.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-02-07 14:13:09 -0800
committerH. Peter Anvin <hpa@zytor.com>2007-02-07 14:13:09 -0800
commitc8ef63c67deb196333d74cba74dfb96109c00321 (patch)
tree635b4ab84b385b040298bca724f824227e2f4b46 /unix/syslinux.c
parent92e1735c75ef9fe093d51ffe5ba609aec2b1a532 (diff)
parent945a8c5cb5512e472eb894ffa0520e69b8ab54e8 (diff)
downloadsyslinux-elf-c8ef63c67deb196333d74cba74dfb96109c00321.tar.gz
syslinux-elf-c8ef63c67deb196333d74cba74dfb96109c00321.tar.xz
syslinux-elf-c8ef63c67deb196333d74cba74dfb96109c00321.zip
Merge with git+ssh://master.kernel.org/pub/scm/boot/syslinux/syslinux.git#syslinux-3.3x
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;