Skip to contentSkip to conversation

hw/sun4m.c make error messages consistent

PATCH New Robert Reif 1 participant 1 message Jan 5, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hw/sun4m.c make error messages consistent

Make these 3 error messages consistent with the other 20 in the same file.

sun4m.c +3 -3
diff -p -u -r1.79 sun4m.c
@@ -385,7 +385,7 @@ static void sun4m_hw_init(const struct h
     for(i = 0; i < smp_cpus; i++) {
         env = cpu_init(cpu_model);
         if (!env) {
-            fprintf(stderr, "Unable to find Sparc CPU definition\n");
+            fprintf(stderr, "qemu: Unable to find Sparc CPU definition\n");
             exit(1);
         }
         cpu_sparc_set_id(env, i);
@@ -554,7 +554,7 @@ static void sun4c_hw_init(const struct h
 
     env = cpu_init(cpu_model);
     if (!env) {
-        fprintf(stderr, "Unable to find Sparc CPU definition\n");
+        fprintf(stderr, "qemu: Unable to find Sparc CPU definition\n");
         exit(1);
     }
 
@@ -1041,7 +1041,7 @@ static void sun4d_hw_init(const struct s
     for (i = 0; i < smp_cpus; i++) {
         env = cpu_init(cpu_model);
         if (!env) {
-            fprintf(stderr, "Unable to find Sparc CPU definition\n");
+            fprintf(stderr, "qemu: Unable to find Sparc CPU definition\n");
             exit(1);
         }
         cpu_sparc_set_id(env, i);