Commit 91316870b124 ("common/nvme, nvme/rc: use _set_attr() to trace attribute writes") replaced sysfs/confgfs/debugfs attribute writes with _set_attr() function call, but it missed to one place. Replace the missed write. Fixes: 91316870b124 ("common/nvme, nvme/rc: use _set_attr() to trace attribute writes") Signed-off-by: Shin'ichiro Kawasaki --- tests/nvme/rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/nvme/rc b/tests/nvme/rc index d6496b3..1d71811 100644 --- a/tests/nvme/rc +++ b/tests/nvme/rc @@ -225,7 +225,7 @@ _create_nvmet_passthru() { mkdir -p "${subsys_path}" _set_attr 0 "${subsys_path}/attr_allow_any_host" - _test_dev_nvme_ctrl > "${passthru_path}/device_path" + _set_attr "$(_test_dev_nvme_ctrl)" "${passthru_path}/device_path" _set_attr 1 "${passthru_path}/enable" if [[ -f "${passthru_path}/clear_ids" ]]; then _set_attr 1 "${passthru_path}/clear_ids" -- 2.55.0