Skip to contentSkip to conversation

x86/hap: Fix lack of newline in error message

PATCH New Andrew Cooper 1 participant 1 message Apr 18, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/hap: Fix lack of newline in error message

to avoid corrupting the following line.

CC Keir Fraser <[email protected]>
CC Jan Beulich <[email protected]>
CC Tim Deegan <[email protected]>
---
 xen/arch/x86/mm/hap/hap.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
xen/arch/x86/mm/hap/hap.c +1 -1
index 71227ef..60806bb 100644
@@ -269,7 +269,7 @@ static struct page_info *hap_alloc_p2m_page(struct domain *d)
     else if ( !d->arch.paging.p2m_alloc_failed )
     {
         d->arch.paging.p2m_alloc_failed = 1;
-        dprintk(XENLOG_ERR, "d%i failed to allocate from HAP pool",
+        dprintk(XENLOG_ERR, "d%i failed to allocate from HAP pool\n",
                 d->domain_id);
     }
 
Signature · 1 line
1.7.10.4