From 1634ec8cc7f76e93c87f0c72662f7b037d13186c Mon Sep 17 00:00:00 2001 From: Matt Mower Date: Wed, 4 Jun 2014 13:03:58 -0500 Subject: 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 --- bootloader.cpp | 8 ++++---- 1 file 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); -- cgit v1.1