aboutsummaryrefslogtreecommitdiffstats
path: root/memdump
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-02-08 14:59:59 -0800
committerH. Peter Anvin <hpa@zytor.com>2008-02-08 14:59:59 -0800
commit55bf6f17d1e646580342bda77d15878e293faad7 (patch)
tree727c783780e886c2e632f316fbb83d8d445463e1 /memdump
parent9058712ee7fc4198ab28579effb0d914bf91d701 (diff)
downloadsyslinux-55bf6f17d1e646580342bda77d15878e293faad7.tar.gz
syslinux-55bf6f17d1e646580342bda77d15878e293faad7.tar.xz
syslinux-55bf6f17d1e646580342bda77d15878e293faad7.zip
memdump: avoid comma in filenames
Avoid using commas in filenames, since not all systems can handle them.
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 cd9497c2..af6ab182 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.bin", prefix, start, len);
+ sprintf(filename, "%s%#x-%#x.bin", prefix, start, len);
finfo.name = filename;
finfo.size = len;
finfo.pvt = (void *)start;