Skip to contentSkip to conversation

libxl: fix error message for unsharing namespaces

PATCH In review Wei Liu 3 participants 3 messages Jan 18, 2019

lore
Share & tools
lore

Wei Liu

author
#0 lore raw

PATCH 1/1 libxl: fix error message for unsharing namespaces

---
 tools/libxl/libxl_linux.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/libxl/libxl_linux.c +1 -1
index 59dd945bc1..873b0271af 100644
@@ -344,7 +344,7 @@ int libxl__local_dm_preexec_restrict(libxl__gc *gc)
     /* Unshare mount and IPC namespaces.  These are unused by QEMU. */
     r = unshare(CLONE_NEWNS | CLONE_NEWIPC);
     if (r) {
-        LOGE(ERROR, "libxl: Mount and IPC namespace unfailed");
+        LOGE(ERROR, "libxl: unshare Mount and IPC namespace failed");
         return ERROR_FAIL;
     }
 
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
#2 lore raw
Quoted 4 lines · Ian Jackson

Wei Liu writes ("[PATCH] libxl: fix error message for unsharing namespaces"):

Quoted 1 line

Thanks. IMO this simple bugfix should go into 4.12.

I agree (while I kind of like the "unfailed" :-) ).

Juergen

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel