diff --git a/nandroid.c b/nandroid.c index 5c70b55..f4b2a74 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 ? yaffs_callback(path) : NULL); + return unyaffs(backup_file_image, backup_path, callback ? yaffs_callback : NULL); } static int tar_extract_wrapper(const char* backup_file_image, const char* backup_path, int callback) {