Skip to contentSkip to conversation

common/grant: Add a newline into error message

PATCH New Andrew Cooper 1 participant 1 message Jun 9, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 common/grant: Add a newline into error message

Avoid corrupting the next line on the console.

---
 xen/common/grant_table.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
xen/common/grant_table.c +1 -1
index c08e957..464007e 100644
@@ -580,7 +580,7 @@ __gnttab_map_grant_ref(
 
     if ( rgt->gt_version == 0 )
         PIN_FAIL(unlock_out, GNTST_general_error,
-                 "remote grant table not yet set up");
+                 "remote grant table not yet set up\n");
 
     /* Bounds check on the grant ref */
     if ( unlikely(op->ref >= nr_grant_entries(rgt)))
Signature · 1 line
1.7.10.4