Fix all the format string warnings.
[coreboot.git] / src / mainboard / tyan / s2885 / mptable.c
index b126d2f60dd21804c7d5ea56130e7df6ebd3a1c3..a3e5155d5f0efd0128806f681e10e65c820db4bd 100644 (file)
@@ -24,7 +24,7 @@ extern  unsigned sbdn5;
 extern void get_bus_conf(void);
 
 
-void *smp_write_config_table(void *v)
+static void *smp_write_config_table(void *v)
 {
         static const char sig[4] = "PCMP";
         static const char oem[8] = "TYAN    ";
@@ -152,7 +152,7 @@ void *smp_write_config_table(void *v)
        /* Compute the checksums */
        mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
        mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
-       printk_debug("Wrote the mp table end at: %p - %p\n",
+       printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
                mc, smp_next_mpe_entry(mc));
        return smp_next_mpe_entry(mc);
 }