[Skiboot] [PATCH] hw/phys-map: Add missing newline in log output

Reza Arbab arbab at linux.vnet.ibm.com
Tue Feb 13 03:43:54 AEDT 2018


The call to prlog() here is missing a \n.

Signed-off-by: Reza Arbab <arbab at linux.vnet.ibm.com>
---
 hw/phys-map.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/phys-map.c b/hw/phys-map.c
index a2b5dbd..fe949e4 100644
--- a/hw/phys-map.c
+++ b/hw/phys-map.c
@@ -184,7 +184,7 @@ void phys_map_get(uint64_t gcid, enum phys_map_type type,
 
 error:
 	/* Something has gone really wrong */
-	prlog(PR_EMERG, "ERROR: Failed to lookup BAR type:%i index:%i",
+	prlog(PR_EMERG, "ERROR: Failed to lookup BAR type:%i index:%i\n",
 	      type, index);
 	assert(0);
 }
-- 
1.8.3.1



More information about the Skiboot mailing list