Skip to content

Commit

Permalink
inject output
Browse files Browse the repository at this point in the history
  • Loading branch information
osalyk committed Aug 2, 2024
1 parent 6e11877 commit 1a344ff
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/tests/ras/utils/dimm/dimm.cc
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,11 @@ int Dimm::InjectUnsafeShutdown() const {
}

cmd = ndctl_dimm_cmd_new_smart_inject(dimm_);
std::cout << "CMD output: " << cmd << std::endl;

if (ndctl_cmd_smart_inject_unsafe_shutdown(cmd, true)) {
int ret = ndctl_cmd_smart_inject_unsafe_shutdown(cmd, true);
std::cout << "ndctl_cmd_smart_inject_unsafe_shutdown: " << ret << std::endl;
if (ret) {
return -1;
}

Expand Down

0 comments on commit 1a344ff

Please sign in to comment.