common/grant: add a newline into error message
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 10 Jun 2014 10:04:59 +0000 (12:04 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 10 Jun 2014 10:04:59 +0000 (12:04 +0200)
Avoid corrupting the next line on the console.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/common/grant_table.c

index c08e9573ba2ebd508efd94c620c4fbd189674131..464007ea33261f930f17ef59a75b7410f62bf1f2 100644 (file)
@@ -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)))