Skip to contentSkip to conversation

runqemu: Fix typo in error message

PATCH In review Matthias Klein 2 participants 2 messages Aug 4, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 runqemu: Fix typo in error message

---
 scripts/runqemu | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/runqemu +1 -1
index 2914f15d06..9c92eec030 100755
@@ -776,7 +776,7 @@ class BaseConfig(object):
                 raise RunQemuError('BIOS not found: %s' % bios_match_name)
 
         if not os.path.exists(self.bios):
-            raise RunQemuError("KERNEL %s not found" % self.bios)
+            raise RunQemuError("BIOS %s not found" % self.bios)
 
 
     def check_mem(self):
Signature · 1 line
2.30.2
Reviewed-by on v1 1/1
#1 lore raw

Hi Matthias,

Quoted 10 lines · Matthias Klein
---
 scripts/runqemu | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/runqemu +0 -0
index 2914f15d06..9c92eec030 100755

scripts/runqemu class BaseConfig(object): · line 782

Quoted 8 lines
scripts/runqemu +1 -1
@@ -776,7 +776,7 @@ class BaseConfig(object):
                 raise RunQemuError('BIOS not found: %s' % bios_match_name)
 
         if not os.path.exists(self.bios):
-            raise RunQemuError("KERNEL %s not found" % self.bios)
+            raise RunQemuError("BIOS %s not found" % self.bios)
 
 
     def check_mem(self):

Thanks for the patch. I caught that before, but then forgot to propose a patch.

Cheers
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com