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

[xen staging] xenstored: Add newline to error message



commit 9c68f5e90c223d16418aeb3783b2e5123d2071a3
Author:     Jason Andryuk <jason.andryuk@xxxxxxx>
AuthorDate: Tue Nov 25 10:25:08 2025 +0100
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Tue Nov 25 10:25:08 2025 +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>
---
 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;
        }
 
--
generated by git-patchbot for /home/xen/git/xen.git#staging



 


Rackspace

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