Use the callback function in the call to mkyaffs2image() in _wrapper
Change-Id: Iee385a602e33a44dfa0deee8af49133f16f09d2c
This commit is contained in:
parent
11cff33332
commit
9759ede732
@ -101,7 +101,7 @@ typedef void (*file_event_callback)(const char* filename);
|
||||
typedef int (*nandroid_backup_handler)(const char* backup_path, const char* backup_file_image, int callback);
|
||||
|
||||
static int mkyaffs2image_wrapper(const char* backup_path, const char* backup_file_image, int callback) {
|
||||
return mkyaffs2image(backup_path, backup_file_image, 0, callback);
|
||||
return mkyaffs2image(backup_path, backup_file_image, 0, callback ? yaffs_callback : NULL);
|
||||
}
|
||||
|
||||
static int tar_compress_wrapper(const char* backup_path, const char* backup_file_image, int callback) {
|
||||
|
Loading…
Reference in New Issue
Block a user