summaryrefslogtreecommitdiffstats
path: root/recovery.c
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2010-09-15 20:14:51 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2010-09-15 20:14:51 +0200
commit9f89b0e4673f0e28066ba41321dc9e626e04c64f (patch)
tree41ec0075fa7181d1103bacdbce2fa1c9454eb136 /recovery.c
parentam 8674a726: (cherry-pick) support installing any .zip file on the sdcard (diff)
parentsupport for ext4/EMMC filesystems in updater binary (diff)
downloadandroid_bootable_recovery-9f89b0e4673f0e28066ba41321dc9e626e04c64f.tar
android_bootable_recovery-9f89b0e4673f0e28066ba41321dc9e626e04c64f.tar.gz
android_bootable_recovery-9f89b0e4673f0e28066ba41321dc9e626e04c64f.tar.bz2
android_bootable_recovery-9f89b0e4673f0e28066ba41321dc9e626e04c64f.tar.lz
android_bootable_recovery-9f89b0e4673f0e28066ba41321dc9e626e04c64f.tar.xz
android_bootable_recovery-9f89b0e4673f0e28066ba41321dc9e626e04c64f.tar.zst
android_bootable_recovery-9f89b0e4673f0e28066ba41321dc9e626e04c64f.zip
Diffstat (limited to 'recovery.c')
-rw-r--r--recovery.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/recovery.c b/recovery.c
index 30bbe38a1..286f1e5a7 100644
--- a/recovery.c
+++ b/recovery.c
@@ -673,7 +673,7 @@ prompt_and_wait() {
static void
print_property(const char *key, const char *name, void *cookie) {
- fprintf(stderr, "%s=%s\n", key, name);
+ printf("%s=%s\n", key, name);
}
int
@@ -683,7 +683,7 @@ main(int argc, char **argv) {
// If these fail, there's not really anywhere to complain...
freopen(TEMPORARY_LOG_FILE, "a", stdout); setbuf(stdout, NULL);
freopen(TEMPORARY_LOG_FILE, "a", stderr); setbuf(stderr, NULL);
- fprintf(stderr, "Starting recovery on %s", ctime(&start));
+ printf("Starting recovery on %s", ctime(&start));
ui_init();
get_args(&argc, &argv);
@@ -714,14 +714,14 @@ main(int argc, char **argv) {
device_recovery_start();
- fprintf(stderr, "Command:");
+ printf("Command:");
for (arg = 0; arg < argc; arg++) {
- fprintf(stderr, " \"%s\"", argv[arg]);
+ printf(" \"%s\"", argv[arg]);
}
- fprintf(stderr, "\n\n");
+ printf("\n\n");
property_list(print_property, NULL);
- fprintf(stderr, "\n");
+ printf("\n");
int status = INSTALL_SUCCESS;