aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2010-07-01 09:18:44 -0700
committerDoug Zongker <dougz@android.com>2010-09-15 11:10:02 -0700
commit56c5105bd7096704eaed35329b2c8c84cc282867 (patch)
tree41ec0075fa7181d1103bacdbce2fa1c9454eb136 /common.h
parent8674a726ff05a4a6c09c6934778c251635f130a8 (diff)
downloadbootable_recovery-56c5105bd7096704eaed35329b2c8c84cc282867.zip
bootable_recovery-56c5105bd7096704eaed35329b2c8c84cc282867.tar.gz
bootable_recovery-56c5105bd7096704eaed35329b2c8c84cc282867.tar.bz2
support for ext4/EMMC filesystems in updater binary
Make the mount and format functions take extra parameters describing the filesystem type and add support for mounting and formatting ext4 filesystems on EMMC. Change recovery to consistently use stdout for status messages instead of mixing stdout and stderr.
Diffstat (limited to 'common.h')
-rw-r--r--common.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/common.h b/common.h
index 29b37bb..0c250f4 100644
--- a/common.h
+++ b/common.h
@@ -73,12 +73,12 @@ void ui_show_indeterminate_progress();
void ui_reset_progress();
#define LOGE(...) ui_print("E:" __VA_ARGS__)
-#define LOGW(...) fprintf(stderr, "W:" __VA_ARGS__)
-#define LOGI(...) fprintf(stderr, "I:" __VA_ARGS__)
+#define LOGW(...) fprintf(stdout, "W:" __VA_ARGS__)
+#define LOGI(...) fprintf(stdout, "I:" __VA_ARGS__)
#if 0
-#define LOGV(...) fprintf(stderr, "V:" __VA_ARGS__)
-#define LOGD(...) fprintf(stderr, "D:" __VA_ARGS__)
+#define LOGV(...) fprintf(stdout, "V:" __VA_ARGS__)
+#define LOGD(...) fprintf(stdout, "D:" __VA_ARGS__)
#else
#define LOGV(...) do {} while (0)
#define LOGD(...) do {} while (0)