diff --git a/ocaml/xapi/xapi_pci_helpers.ml b/ocaml/xapi/xapi_pci_helpers.ml index c776cd11209..d42e2b14d89 100644 --- a/ocaml/xapi/xapi_pci_helpers.ml +++ b/ocaml/xapi/xapi_pci_helpers.ml @@ -185,7 +185,7 @@ let update_dom0_access ~__context ~pci ~action = `disabled ) in - let expr = Printf.sprintf "field \"PCI\"=\"%s\"" (Ref.string_of pci) in + let expr = Printf.sprintf {|field "PCI"="%s"|} (Ref.string_of pci) in let pgpus = Db.PGPU.get_all_records_where ~__context ~expr in List.iter (fun (pgpu_ref, _) ->