diff options
author | Matt Mower <mowerm@gmail.com> | 2014-06-04 13:03:58 -0500 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2015-11-07 01:15:42 -0800 |
commit | 1634ec8cc7f76e93c87f0c72662f7b037d13186c (patch) | |
tree | ceb86a3eca8ec93aa3550764081210a188984ab5 | |
parent | a601fab9c6d5c1e029f47dbf11d888da91562cd2 (diff) | |
download | bootable_recovery-1634ec8cc7f76e93c87f0c72662f7b037d13186c.zip bootable_recovery-1634ec8cc7f76e93c87f0c72662f7b037d13186c.tar.gz bootable_recovery-1634ec8cc7f76e93c87f0c72662f7b037d13186c.tar.bz2 |
bootloader: Silence /misc partition error
LOGE has been changed to LOGI for "Cannot load volume /misc!"
since many devices do not define a /misc partition in fstab.
Change-Id: I53c440f820fd4614b0af79e9283baa8c48453373
-rw-r--r-- | bootloader.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bootloader.cpp b/bootloader.cpp index 600d238..779ae1b 100644 --- a/bootloader.cpp +++ b/bootloader.cpp @@ -34,8 +34,8 @@ static int set_bootloader_message_block(const struct bootloader_message *in, con int get_bootloader_message(struct bootloader_message *out) { Volume* v = volume_for_path("/misc"); if (v == NULL) { - LOGE("Cannot load volume /misc!\n"); - return -1; + LOGI("Cannot load volume /misc.\n"); + return -1; } if (strcmp(v->fs_type, "mtd") == 0) { return get_bootloader_message_mtd(out, v); @@ -49,8 +49,8 @@ int get_bootloader_message(struct bootloader_message *out) { int set_bootloader_message(const struct bootloader_message *in) { Volume* v = volume_for_path("/misc"); if (v == NULL) { - LOGE("Cannot load volume /misc!\n"); - return -1; + LOGI("Cannot load volume /misc.\n"); + return -1; } if (strcmp(v->fs_type, "mtd") == 0) { return set_bootloader_message_mtd(in, v); |