Unlike barf(), xprintf() does not add a newline.  Add one.

Fixes: e5b0a9405571 ("tools/xenstored: Auto-introduce domains")
Signed-off-by: Jason Andryuk <[email protected]>
---
 tools/xenstored/domain.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/xenstored/domain.c b/tools/xenstored/domain.c
index d504e9994b..10ac1c1a8f 100644
--- a/tools/xenstored/domain.c
+++ b/tools/xenstored/domain.c
@@ -1333,7 +1333,7 @@ static bool init_domain(unsigned int domid)
 
        domain = introduce_domain(NULL, domid, port, false);
        if (!domain) {
-               xprintf("Could not initialize dom%u", domid);
+               xprintf("Could not initialize dom%u\n", domid);
                return false;
        }
 
-- 
2.51.1


Reply via email to