summaryrefslogtreecommitdiffstats
path: root/tools/ota/check-lost+found.c
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2012-08-24 00:54:01 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2012-08-24 00:54:01 +0200
commit7b827d04a5cab7d8c5573181de3eb4ea2d0e173a (patch)
treee8a0ff4dffda998ca47b51570a70a3d75fbf7786 /tools/ota/check-lost+found.c
parentchange recovery images to android with spinner (diff)
parentMerge "Fixed unused param warnings for check-lost+found" (diff)
downloadandroid_bootable_recovery-7b827d04a5cab7d8c5573181de3eb4ea2d0e173a.tar
android_bootable_recovery-7b827d04a5cab7d8c5573181de3eb4ea2d0e173a.tar.gz
android_bootable_recovery-7b827d04a5cab7d8c5573181de3eb4ea2d0e173a.tar.bz2
android_bootable_recovery-7b827d04a5cab7d8c5573181de3eb4ea2d0e173a.tar.lz
android_bootable_recovery-7b827d04a5cab7d8c5573181de3eb4ea2d0e173a.tar.xz
android_bootable_recovery-7b827d04a5cab7d8c5573181de3eb4ea2d0e173a.tar.zst
android_bootable_recovery-7b827d04a5cab7d8c5573181de3eb4ea2d0e173a.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");