diff options
author | Doug Zongker <dougz@android.com> | 2012-02-28 12:07:30 -0800 |
---|---|---|
committer | Doug Zongker <dougz@android.com> | 2012-02-28 12:07:30 -0800 |
commit | b07b293944c2002a39bbd804f0b6f590ed8458cd (patch) | |
tree | 45aea334fdfc1217d386891a4a795272907614c2 /minelf | |
parent | 1c43c9741bc4d9f62f2e3262cea1309890d1bbd2 (diff) | |
download | bootable_recovery-b07b293944c2002a39bbd804f0b6f590ed8458cd.zip bootable_recovery-b07b293944c2002a39bbd804f0b6f590ed8458cd.tar.gz bootable_recovery-b07b293944c2002a39bbd804f0b6f590ed8458cd.tar.bz2 |
fix build
Change-Id: I44a75f5451af053778be299b23274ecce9b2db76
Diffstat (limited to 'minelf')
-rw-r--r-- | minelf/Retouch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/minelf/Retouch.c b/minelf/Retouch.c index 33809cd..a25380b 100644 --- a/minelf/Retouch.c +++ b/minelf/Retouch.c @@ -345,7 +345,7 @@ bool retouch_one_library(const char *binary_name, success = false; goto out; } - if (SaveFileContents(CACHE_TEMP_SOURCE, file) < 0) { + if (SaveFileContents(CACHE_TEMP_SOURCE, &file) < 0) { printf("Failed to back up source file.\n"); success = false; goto out; @@ -357,7 +357,7 @@ bool retouch_one_library(const char *binary_name, printf("(now %ld bytes free for target)\n", (long)free_space); } - result = SaveFileContents(binary_name_atomic, file); + result = SaveFileContents(binary_name_atomic, &file); if (result != 0) { // Maybe the filesystem was optimistic: retry. enough_space = false; |