From 535f4b653efeed2428df49d6915332faadde348c Mon Sep 17 00:00:00 2001
From: Nikias Bassen
Date: Fri, 8 Jul 2016 20:53:48 +0200
Subject: restore: Fix error message to show the actual baseband component name

---
 src/restore.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src')

diff --git a/src/restore.c b/src/restore.c
index 4418660..fd7be92 100644
--- a/src/restore.c
+++ b/src/restore.c
@@ -1236,12 +1236,12 @@ static int restore_sign_bbfw(const char* bbfwtmp, plist_t bbtss, const unsigned
 
 			if (is_fls) {
 				if (fls_update_sig_blob(fls, blob, (unsigned int)blob_size) != 0) {
-					error("ERROR: could not sign psi_ram.fls\n");
+					error("ERROR: could not sign %s\n", signfn);
 					goto leave;
 				}
 			} else {
 				if (mbn_update_sig_blob(mbn, blob, (unsigned int)blob_size) != 0) {
-					error("ERROR: could not sign dbl.mbn\n");
+					error("ERROR: could not sign %s\n", signfn);
 					goto leave;
 				}
 			}
-- 
cgit v1.1-32-gdbae