[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen stable-4.21] xenstored: Add newline to error message



commit 52356ca6551ec5a952165f2fcdb308f7f897420e
Author:     Jason Andryuk <jason.andryuk@xxxxxxx>
AuthorDate: Tue Nov 25 10:25:08 2025 +0100
Commit:     Anthony PERARD <anthony.perard@xxxxxxxxxx>
CommitDate: Fri Mar 6 14:41:22 2026 +0100

    xenstored: Add newline to error message
    
    Unlike barf(), xprintf() does not add a newline.  Add one.
    
    Fixes: e5b0a9405571 ("tools/xenstored: Auto-introduce domains")
    Signed-off-by: Jason Andryuk <jason.andryuk@xxxxxxx>
    Reviewed-by: Juergen Gross <jgross@xxxxxxxx>
    (cherry picked from commit 9c68f5e90c223d16418aeb3783b2e5123d2071a3)
---
 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 a53b611d34..3641f58be2 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;
        }
 
--
generated by git-patchbot for /home/xen/git/xen.git#stable-4.21



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.