From 56c5105bd7096704eaed35329b2c8c84cc282867 Mon Sep 17 00:00:00 2001 From: Doug Zongker Date: Thu, 1 Jul 2010 09:18:44 -0700 Subject: 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. --- install.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install.c') diff --git a/install.c b/install.c index 40f182d77..2619a0cc0 100644 --- a/install.c +++ b/install.c @@ -112,7 +112,7 @@ try_update_binary(const char *path, ZipArchive *zip) { if (pid == 0) { close(pipefd[0]); execv(binary, args); - fprintf(stderr, "E:Can't run %s (%s)\n", binary, strerror(errno)); + fprintf(stdout, "E:Can't run %s (%s)\n", binary, strerror(errno)); _exit(-1); } close(pipefd[1]); -- cgit v1.2.3