projects
/
profile
/
ivi
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9339e96
)
memdump: add .bin suffix to generated filenames
author
H. Peter Anvin
<hpa@zytor.com>
Fri, 8 Feb 2008 22:57:49 +0000
(14:57 -0800)
committer
H. Peter Anvin
<hpa@zytor.com>
Fri, 8 Feb 2008 22:57:49 +0000
(14:57 -0800)
Add a .bin suffix to generated filenames
memdump/main.c
patch
|
blob
|
history
diff --git
a/memdump/main.c
b/memdump/main.c
index
a946198
..
cd9497c
100644
(file)
--- 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;