From c915937ebd197deccca5c08a0962f7d938799eb0 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Wed, 20 Jul 2011 01:26:02 -0700 Subject: [PATCH] herp Change-Id: I4aace74f1d3638241939f842a4526f9724cf5dac --- nandroid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {