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-07-01 15:42:28 -0700
commit3d177d055c9cf3571e4b7c098818b454d1dbf9d7 (patch)
tree1f9841903bccde2c88ee8be32aa507cccaa6b02e /common.h
parentb442b45bdd7df72de4958fad40f8ac675203d5c1 (diff)
downloadbootable_recovery-3d177d055c9cf3571e4b7c098818b454d1dbf9d7.zip
bootable_recovery-3d177d055c9cf3571e4b7c098818b454d1dbf9d7.tar.gz
bootable_recovery-3d177d055c9cf3571e4b7c098818b454d1dbf9d7.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 a428dab..333417f 100644
--- a/common.h
+++ b/common.h
@@ -72,12 +72,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)