$OpenBSD: patch-src_promemul_ps2_bios_cc,v 1.1 2018/04/07 10:55:54 espie Exp $

Index: src/promemul/ps2_bios.cc
--- src/promemul/ps2_bios.cc.orig
+++ src/promemul/ps2_bios.cc
@@ -59,12 +59,12 @@ int playstation2_sifbios_emul(struct cpu *cpu)
 		cpu->cd.mips.gpr[MIPS_GPR_V0] = 0x200;		/*  TODO  */
 		break;
 	case 1:			/*  halt(int mode)  */
-		debug("[ SIFBIOS halt(0x%"PRIx64") ]\n",
+		debug("[ SIFBIOS halt(0x%" PRIx64") ]\n",
 		    (uint64_t) cpu->cd.mips.gpr[MIPS_GPR_A1]);
 		cpu->running = 0;
 		break;
 	case 2:			/*  setdve(int mode)  */
-		debug("[ SIFBIOS setdve(0x%"PRIx64") ]\n",
+		debug("[ SIFBIOS setdve(0x%" PRIx64") ]\n",
 		    (uint64_t) cpu->cd.mips.gpr[MIPS_GPR_A1]);
 		break;
 	case 3:			/*  putchar(int ch)  */
@@ -108,7 +108,7 @@ int playstation2_sifbios_emul(struct cpu *cpu)
 		cpu->cd.mips.gpr[MIPS_GPR_V0] = 1;		/*  TODO  */
 		break;
 	case 64:
-		fatal("[ SIFBIOS SBR_IOPH_INIT(0x%"PRIx32",0x%"PRIx32",0x%"
+		fatal("[ SIFBIOS SBR_IOPH_INIT(0x%" PRIx32",0x%" PRIx32",0x%"
 		    PRIx32"): TODO ]\n",
 		    (uint32_t) cpu->cd.mips.gpr[MIPS_GPR_A1],
 		    (uint32_t) cpu->cd.mips.gpr[MIPS_GPR_A2],
@@ -163,7 +163,7 @@ int playstation2_sifbios_emul(struct cpu *cpu)
 		cpu->cd.mips.gpr[MIPS_GPR_V0] = 0;
 		break;
 	case 65:
-		fatal("[ SIFBIOS alloc iop heap(0x"PRIx32") ]\n",
+		fatal("[ SIFBIOS alloc iop heap(0x" PRIx32") ]\n",
 		    (uint32_t)cpu->cd.mips.gpr[MIPS_GPR_A1]);
 
 		/*
