Skip to content

Commit

Permalink
v2v: -o qemu: Replace List.iteri with iteri.
Browse files Browse the repository at this point in the history
So we don't have to depend on OCaml >= 4.00 which is when this
function was added to the stdlib.

https://bugs.gentoo.org/show_bug.cgi?id=532698
  • Loading branch information
rwmjones committed Dec 17, 2014
1 parent abf51ec commit d375b78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2v/output_qemu.ml
Expand Up @@ -78,7 +78,7 @@ object
| Virtio_net -> "virtio-net-pci"
| E1000 -> "e1000"
| RTL8139 -> "rtl8139" in
List.iteri (
iteri (
fun i nic ->
fpf "%s-netdev user,id=net%d" nl i;
fpf "%s-device %s,netdev=net%d%s" nl
Expand Down

0 comments on commit d375b78

Please sign in to comment.