aboutsummaryrefslogtreecommitdiffstats
path: root/linux
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2013-06-17 11:57:29 +0100
committerMatt Fleming <matt.fleming@intel.com>2013-06-17 11:57:29 +0100
commita0bb1928c8652aada30243089c53754ddd9b99df (patch)
tree5fd177bf495f80b51d323a7d7ebf76e8650e65c4 /linux
parent97bff28959e9deed6b78dd7df974797476683006 (diff)
parent022cdd1d56512e8759e8374c10a7420201db93c0 (diff)
downloadsyslinux-a0bb1928c8652aada30243089c53754ddd9b99df.tar.gz
syslinux-a0bb1928c8652aada30243089c53754ddd9b99df.tar.xz
syslinux-a0bb1928c8652aada30243089c53754ddd9b99df.zip
Merge tag 'syslinux-5.11-pre2' into firmware
syslinux-5.11-pre2 Conflicts: core/elflink/load_env32.c version
Diffstat (limited to 'linux')
-rwxr-xr-xlinux/syslinux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/syslinux.c b/linux/syslinux.c
index f4749ead..f64834bd 100755
--- a/linux/syslinux.c
+++ b/linux/syslinux.c
@@ -251,7 +251,7 @@ int do_open_file(char *name)
unlink(name);
fd = open(name, O_WRONLY | O_CREAT | O_TRUNC, 0444);
if (fd < 0)
- perror(opt.device);
+ perror(name);
return fd;
}