summary refs log tree commit diff
path: root/qcow_utils/src/qcow_utils.rs
diff options
context:
space:
mode:
Diffstat (limited to 'qcow_utils/src/qcow_utils.rs')
-rw-r--r--qcow_utils/src/qcow_utils.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/qcow_utils/src/qcow_utils.rs b/qcow_utils/src/qcow_utils.rs
index 4c3ede7..1dcf2a4 100644
--- a/qcow_utils/src/qcow_utils.rs
+++ b/qcow_utils/src/qcow_utils.rs
@@ -83,6 +83,7 @@ pub unsafe extern "C" fn expand_disk_image(path: *const c_char, virtual_size: u6
             Ok(f) => Box::new(f),
             Err(_) => return -EINVAL,
         },
+        _ => return -EINVAL,
     };
 
     // For safety against accidentally shrinking the disk image due to a