aboutsummaryrefslogtreecommitdiffstats
path: root/memdump
diff options
context:
space:
mode:
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;