aboutsummaryrefslogtreecommitdiffstats
path: root/memdump
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-02-08 14:57:49 -0800
committerH. Peter Anvin <hpa@zytor.com>2008-02-08 14:57:49 -0800
commit9058712ee7fc4198ab28579effb0d914bf91d701 (patch)
treead86ebdbd1794c2fddf4a0f0c2ce362fff3795ff /memdump
parent9339e963b8a8f200a6e18619c851f1ffa7c5386e (diff)
downloadsyslinux-elf-9058712ee7fc4198ab28579effb0d914bf91d701.tar.gz
syslinux-elf-9058712ee7fc4198ab28579effb0d914bf91d701.tar.xz
syslinux-elf-9058712ee7fc4198ab28579effb0d914bf91d701.zip
memdump: add .bin suffix to generated filenames
Add a .bin suffix to generated filenames
Diffstat (limited to 'memdump')
-rw-r--r--memdump/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/memdump/main.c b/memdump/main.c
index a9461986..cd9497c2 100644
--- a/memdump/main.c
+++ b/memdump/main.c
@@ -122,7 +122,7 @@ int main(int argc, char *argv[])
die("invalid range specification");
len = strtoul(ep+1, NULL, 0);
- sprintf(filename, "%s%#x,%#x", prefix, start, len);
+ sprintf(filename, "%s%#x,%#x.bin", prefix, start, len);
finfo.name = filename;
finfo.size = len;
finfo.pvt = (void *)start;