[PATCH] virDevMapperGetTargets: Fix non-linux implementation

Peter Krempa pkrempa at redhat.com
Tue Sep 21 12:31:54 UTC 2021


s/GSlist/GSList/

Fixes: 6c49c2ee9fcb88de02cdc333f666a8e95d60a3b0
Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 src/util/virdevmapper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/virdevmapper.c b/src/util/virdevmapper.c
index e42324fd19..7796e7719b 100644
--- a/src/util/virdevmapper.c
+++ b/src/util/virdevmapper.c
@@ -342,7 +342,7 @@ virIsDevMapperDevice(const char *dev_name)

 int
 virDevMapperGetTargets(const char *path G_GNUC_UNUSED,
-                       GSlist **devPaths G_GNUC_UNUSED)
+                       GSList **devPaths G_GNUC_UNUSED)
 {
     errno = ENOSYS;
     return -1;
-- 
2.31.1




More information about the libvir-list mailing list