diff options
author | Koushik Dutta <koushd@gmail.com> | 2013-06-18 20:10:19 -0700 |
---|---|---|
committer | Koushik Dutta <koushd@gmail.com> | 2013-06-18 20:10:19 -0700 |
commit | 593b54c8f46d40f31bc47504fba3a0b9c2cdc573 (patch) | |
tree | 4150ecbc80477ac61ed051bbf338135438634f5c | |
parent | 51eb3cfd395824ce444c468ea9488d790e420155 (diff) | |
download | bootable_recovery-593b54c8f46d40f31bc47504fba3a0b9c2cdc573.zip bootable_recovery-593b54c8f46d40f31bc47504fba3a0b9c2cdc573.tar.gz bootable_recovery-593b54c8f46d40f31bc47504fba3a0b9c2cdc573.tar.bz2 |
fix stat usage
Change-Id: Iab3290adca1602a23fc407d2b3f50b9aeac60389
-rw-r--r-- | nandroid.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -597,7 +597,7 @@ int nandroid_restore_partition_extended(const char* backup_path, const char* mou restore_handler = tar_extract_wrapper; strcpy(tmp, "/proc/self/fd/0"); } - else if (0 != (ret = statfs(tmp, &file_info))) { + else if (0 != (ret = stat(tmp, &file_info))) { // can't find the backup, it may be the new backup format? // iterate through the backup types printf("couldn't find default\n"); |