summaryrefslogtreecommitdiff
path: root/fs_mgr/tools/dmctl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fs_mgr/tools/dmctl.cpp')
-rw-r--r--fs_mgr/tools/dmctl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs_mgr/tools/dmctl.cpp b/fs_mgr/tools/dmctl.cpp
index 63661f0aa..9309aadf8 100644
--- a/fs_mgr/tools/dmctl.cpp
+++ b/fs_mgr/tools/dmctl.cpp
@@ -316,7 +316,7 @@ static int TableCmdHandler(int argc, char** argv) {
DeviceMapper& dm = DeviceMapper::Instance();
std::vector<DeviceMapper::TargetInfo> table;
- if (!dm.GetTableStatus(argv[0], &table)) {
+ if (!dm.GetTableInfo(argv[0], &table)) {
std::cerr << "Could not query table status of device \"" << argv[0] << "\"." << std::endl;
return -EINVAL;
}