summaryrefslogtreecommitdiff
path: root/src/device/wrapper.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/device/wrapper.rs')
-rw-r--r--src/device/wrapper.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/wrapper.rs b/src/device/wrapper.rs
index adbb695..69291ad 100644
--- a/src/device/wrapper.rs
+++ b/src/device/wrapper.rs
@@ -135,7 +135,7 @@ impl<'a> Device<'a> for DeviceWrapper<'a> {
fn get_status(&self) -> Result<Status, Error> {
match self {
DeviceWrapper::Pro(dev) => dev.get_status(),
- DeviceWrapper::Storage(dev) => Device::get_status(dev),
+ DeviceWrapper::Storage(dev) => dev.get_status(),
}
}
}