summaryrefslogtreecommitdiffstats
path: root/src/operations.h
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2012-11-20 20:42:17 +0100
committerPali Rohár <pali.rohar@gmail.com>2012-11-20 20:42:17 +0100
commit3f968514073a77e329ed18b35c02000e66bc34bc (patch)
treeb0e154f136acde145fa9562ebd78ff990bd2b7ab /src/operations.h
parent10217cd3312fa310791b1e1c50890b72d7f3356c (diff)
download0xFFFF-3f968514073a77e329ed18b35c02000e66bc34bc.tar.bz2
Change dump_image API
Diffstat (limited to 'src/operations.h')
-rw-r--r--src/operations.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/operations.h b/src/operations.h
index 4f446d1..3f6c3bd 100644
--- a/src/operations.h
+++ b/src/operations.h
@@ -44,7 +44,7 @@ enum device dev_get_device(struct device_info * dev);
int dev_cold_flash_images(struct device_info * dev, struct image * x2nd, struct image * secondary);
int dev_load_image(struct device_info * dev, struct image * image);
int dev_flash_image(struct device_info * dev, struct image * image);
-struct image * dev_dump_image(struct device_info * dev, enum image_type image);
+int dev_dump_image(struct device_info * dev, enum image_type image, const char * file);
int dev_check_badblocks(struct device_info * dev, const char * device);
int dev_boot_device(struct device_info * dev, const char * cmdline);