diff --git a/Android.mk b/Android.mk index db797cc..1db7fda 100644 --- a/Android.mk +++ b/Android.mk @@ -26,7 +26,7 @@ LOCAL_MODULE := recovery LOCAL_FORCE_STATIC_EXECUTABLE := true -RECOVERY_VERSION := ClockworkMod Recovery v4.0.1.0 +RECOVERY_VERSION := ClockworkMod Recovery v4.0.1.4 LOCAL_CFLAGS += -DRECOVERY_VERSION="$(RECOVERY_VERSION)" RECOVERY_API_VERSION := 2 LOCAL_CFLAGS += -DRECOVERY_API_VERSION=$(RECOVERY_API_VERSION) diff --git a/nandroid.c b/nandroid.c index af97e86..5c70b55 100644 --- a/nandroid.c +++ b/nandroid.c @@ -318,7 +318,7 @@ static void ensure_directory(const char* dir) { typedef int (*nandroid_restore_handler)(const char* backup_file_image, const char* backup_path, int callback); static int unyaffs_wrapper(const char* backup_file_image, const char* backup_path, int callback) { - return unyaffs(backup_file_image, backup_path, callback); + return unyaffs(backup_file_image, backup_path, callback ? yaffs_callback(path) : NULL); } static int tar_extract_wrapper(const char* backup_file_image, const char* backup_path, int callback) {