[Libguestfs] [PATCH] inspector: add /reactos as systemroot

Maros Zatko mzatko at redhat.com
Fri Feb 13 12:05:43 UTC 2015


Fixes RHBZ#709326
Related bug RHBZ#709327 seems to be already fixed in ReactOS 0.4.
---
 src/inspect-fs-windows.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/inspect-fs-windows.c b/src/inspect-fs-windows.c
index 421a5b1..7f0f13d 100644
--- a/src/inspect-fs-windows.c
+++ b/src/inspect-fs-windows.c
@@ -107,7 +107,7 @@ guestfs___get_windows_systemroot (guestfs_h *g)
 {
   /* Check a predefined list of common windows system root locations */
   static const char *systemroots[] =
-    { "/windows", "/winnt", "/win32", "/win", NULL };
+    { "/windows", "/winnt", "/win32", "/win", "/reactos", NULL };
 
   for (size_t i = 0; i < sizeof systemroots / sizeof systemroots[0]; ++i) {
     char *systemroot =
-- 
1.9.3




More information about the Libguestfs mailing list