summaryrefslogtreecommitdiffstats
path: root/tools/ota/check-lost+found.c
diff options
context:
space:
mode:
authorEdwin Vane <edwin.vane@intel.com>2012-07-27 18:00:48 +0200
committerEdwin Vane <edwin.vane@intel.com>2012-08-21 22:03:46 +0200
commit4f66d550e913a7b9f7a3c8cf8663bba46dd2ca02 (patch)
tree3854cc31d0590fcab88971a5222878d921365dff /tools/ota/check-lost+found.c
parentMerge changes I664f8dc7,I4154db06,I5e1df90f (diff)
downloadandroid_bootable_recovery-4f66d550e913a7b9f7a3c8cf8663bba46dd2ca02.tar
android_bootable_recovery-4f66d550e913a7b9f7a3c8cf8663bba46dd2ca02.tar.gz
android_bootable_recovery-4f66d550e913a7b9f7a3c8cf8663bba46dd2ca02.tar.bz2
android_bootable_recovery-4f66d550e913a7b9f7a3c8cf8663bba46dd2ca02.tar.lz
android_bootable_recovery-4f66d550e913a7b9f7a3c8cf8663bba46dd2ca02.tar.xz
android_bootable_recovery-4f66d550e913a7b9f7a3c8cf8663bba46dd2ca02.tar.zst
android_bootable_recovery-4f66d550e913a7b9f7a3c8cf8663bba46dd2ca02.zip
Diffstat (limited to 'tools/ota/check-lost+found.c')
-rw-r--r--tools/ota/check-lost+found.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ota/check-lost+found.c b/tools/ota/check-lost+found.c
index f85627544..da02f4602 100644
--- a/tools/ota/check-lost+found.c
+++ b/tools/ota/check-lost+found.c
@@ -44,7 +44,7 @@ static const char *kPartitions[] = { "/system", "/data", "/cache", NULL };
* 2. Write a log entry with the number of files in lost+found directories.
*/
-int main(int argc, char **argv) {
+int main(int argc __attribute__((unused)), char **argv __attribute__((unused))) {
mkdir(kOutputDir, 0755);
chown(kOutputDir, AID_SYSTEM, AID_SYSTEM);
FILE *out = fopen(kOutputFile, "a");