Skip to content

Commit

Permalink
Update ocaml/xapi/xapi_pci_helpers.ml
Browse files Browse the repository at this point in the history
Co-authored-by: Pau Ruiz Safont <[email protected]>
Signed-off-by: BenjiReis <[email protected]>
  • Loading branch information
benjamreis and psafont committed Mar 25, 2024
1 parent e4da1db commit e808204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocaml/xapi/xapi_pci_helpers.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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, _) ->
Expand Down

0 comments on commit e808204

Please sign in to comment.