summaryrefslogtreecommitdiffstats
path: root/recovery.c
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2010-07-01 18:18:44 +0200
committerDoug Zongker <dougz@android.com>2010-07-02 00:42:28 +0200
commit3d177d055c9cf3571e4b7c098818b454d1dbf9d7 (patch)
tree1f9841903bccde2c88ee8be32aa507cccaa6b02e /recovery.c
parentMerge "support userdata and cache partitions using emmc/ext4 instead of mtd/yaffs" (diff)
downloadandroid_bootable_recovery-3d177d055c9cf3571e4b7c098818b454d1dbf9d7.tar
android_bootable_recovery-3d177d055c9cf3571e4b7c098818b454d1dbf9d7.tar.gz
android_bootable_recovery-3d177d055c9cf3571e4b7c098818b454d1dbf9d7.tar.bz2
android_bootable_recovery-3d177d055c9cf3571e4b7c098818b454d1dbf9d7.tar.lz
android_bootable_recovery-3d177d055c9cf3571e4b7c098818b454d1dbf9d7.tar.xz
android_bootable_recovery-3d177d055c9cf3571e4b7c098818b454d1dbf9d7.tar.zst
android_bootable_recovery-3d177d055c9cf3571e4b7c098818b454d1dbf9d7.zip
Diffstat (limited to '')
-rw-r--r--recovery.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/recovery.c b/recovery.c
index d2c726acc..2ce1fd7c4 100644
--- a/recovery.c
+++ b/recovery.c
@@ -567,7 +567,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
@@ -577,7 +577,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);
@@ -607,14 +607,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;