diff --git a/test/lib/nvme/nvme.sh b/test/lib/nvme/nvme.sh index 7c9cf64f61..dd63366041 100755 --- a/test/lib/nvme/nvme.sh +++ b/test/lib/nvme/nvme.sh @@ -7,7 +7,7 @@ rootdir=$(readlink -f $testdir/../../..) source $rootdir/scripts/autotest_common.sh function linux_iter_pci { - lspci -mm -n | grep $1 | tr -d '"' | awk -F " " '{print "0000:"$1}' + lspci -mm -n -D | grep $1 | tr -d '"' | awk -F " " '{print $1}' } timing_enter nvme