diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-02-08 14:59:59 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-02-08 14:59:59 -0800 |
commit | 55bf6f17d1e646580342bda77d15878e293faad7 (patch) | |
tree | 727c783780e886c2e632f316fbb83d8d445463e1 /memdump | |
parent | 9058712ee7fc4198ab28579effb0d914bf91d701 (diff) | |
download | syslinux-55bf6f17d1e646580342bda77d15878e293faad7.tar.gz |
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.c | 2 |
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; |