mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
qemu: Fix transcription error in conversion of yajl to jansson.
This broke qemu mandatory locking detection. Fixes commitbd1c5c9f4d. (cherry picked from commite79286f717)
This commit is contained in:
committed by
Pino Toscano
parent
21f0a22072
commit
898e6c1e39
@@ -616,7 +616,7 @@ guestfs_int_qemu_mandatory_locking (guestfs_h *g,
|
||||
members = json_object_get (v, "members");
|
||||
if (json_is_array (members)) {
|
||||
json_array_foreach (members, j, m) {
|
||||
name = json_object_get (v, "name");
|
||||
name = json_object_get (m, "name");
|
||||
if (json_is_string (name) &&
|
||||
STREQ (json_string_value (name), "locking"))
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user