Displaying 2 results from an estimated 2 matches for "01aaf7d".
2016 May 22
0
[PATCH 2/2] ocaml tools: Use a common debug function.
...; G.Errno.errno_EINVAL then raise exn;
- if verbose () then printf "%s (ignored)\n" msg;
+ debug "%s (ignored)" msg;
false
and is_uefi_bootable_device dev =
parttype_is_gpt dev && (
diff --git a/v2v/linux.ml b/v2v/linux.ml
index bffe566..01aaf7d 100644
--- a/v2v/linux.ml
+++ b/v2v/linux.ml
@@ -144,7 +144,7 @@ let file_list_of_package (g : Guestfs.guestfs) inspect app =
) else
pkg_name in
let cmd = [| "rpm"; "-ql"; pkg_name |] in
- if verbose () then eprintf "%s\n%!" (String.concat "...
2016 May 22
4
ocaml tools: Use a common debug function.
Add a Common_utils.debug function for printing messages
only when in verbose mode.
Rich.