aboutsummaryrefslogtreecommitdiff
path: root/src/commands.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands.rs')
-rw-r--r--src/commands.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands.rs b/src/commands.rs
index 537a2cf..cc57786 100644
--- a/src/commands.rs
+++ b/src/commands.rs
@@ -356,7 +356,7 @@ fn print_status(
if let nitrokey::DeviceWrapper::Storage(device) = device {
let status = device
- .get_status()
+ .get_storage_status()
.map_err(|err| get_error("Getting Storage status failed", err))?;
print_storage_status(ctx, &status)