The kernel doesn't copy CQE DW0 to the ioctl result on error, so don't
print it.
Signed-off-by: Keith Busch <keith.busch@intel.com>
if (err < 0)
perror("passthru");
else if (err)
- fprintf(stderr, "NVMe Status:%s(%x) Command Result:%08x\n",
- nvme_status_to_string(err), err, result);
+ fprintf(stderr, "NVMe Status:%s(%x)\n",
+ nvme_status_to_string(err), err);
else {
if (!cfg.raw_binary) {
fprintf(stderr, "NVMe command result:%08x\n", result);