summary refs log tree commit diff
path: root/qcow_utils/src/qcow_img.rs
diff options
context:
space:
mode:
Diffstat (limited to 'qcow_utils/src/qcow_img.rs')
-rw-r--r--qcow_utils/src/qcow_img.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/qcow_utils/src/qcow_img.rs b/qcow_utils/src/qcow_img.rs
index 66230da..08040a1 100644
--- a/qcow_utils/src/qcow_img.rs
+++ b/qcow_utils/src/qcow_img.rs
@@ -304,12 +304,12 @@ fn convert(src_path: &str, dst_path: &str) -> std::result::Result<(), ()> {
     };
 
     let dst_type = if dst_path.ends_with("qcow2") {
-        qcow::ImageType::Qcow2
+        disk::ImageType::Qcow2
     } else {
-        qcow::ImageType::Raw
+        disk::ImageType::Raw
     };
 
-    match qcow::convert(src_file, dst_file, dst_type) {
+    match disk::convert(src_file, dst_file, dst_type) {
         Ok(_) => {
             println!("Converted {} to {}", src_path, dst_path);
             Ok(())