From 91b2238fc8e462c02f697f0c053043a55f43c13d Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 11 Oct 2012 13:23:24 +0000 Subject: sparsify: Re-use progress bar wrapper code from virt-resize. The code was identical -- just copied with s/resize/sparsify/. Instead of duplicating identical code, cause the Makefile.am to use the code from the ../resize/ directory. Unfortunately because there are two Utils modules (which are different), this means we had to rename those modules to Resize_utils and Sparsify_utils respectively. So this is a rather larger change than intended. However it's just code motion. --- resize/resize.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resize/resize.ml') diff --git a/resize/resize.ml b/resize/resize.ml index c1aef1bf..d94273ab 100644 --- a/resize/resize.ml +++ b/resize/resize.ml @@ -22,7 +22,7 @@ open Resize_gettext.Gettext module G = Guestfs -open Utils +open Resize_utils (* Minimum surplus before we create an extra partition. *) let min_extra_partition = 10L *^ 1024L *^ 1024L -- cgit