git: 244ae85eb975 - main - nvme_sim: Fix a cut and paste error
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 03 Mar 2026 18:01:16 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=244ae85eb97548fd81783f079ee26e0aa9f4b984
commit 244ae85eb97548fd81783f079ee26e0aa9f4b984
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2026-03-03 17:59:42 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2026-03-03 17:59:42 +0000
nvme_sim: Fix a cut and paste error
Fix the error message in nvme_sim_ns_removed that was cut and pasted
from nvme_sim_ns_changed to reflect its new home. No functional change.
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D55522
---
sys/dev/nvme/nvme_sim.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/dev/nvme/nvme_sim.c b/sys/dev/nvme/nvme_sim.c
index a3176f12b11a..a4bb5df4e456 100644
--- a/sys/dev/nvme/nvme_sim.c
+++ b/sys/dev/nvme/nvme_sim.c
@@ -438,7 +438,7 @@ nvme_sim_ns_removed(device_t dev, struct nvme_namespace *ns)
if (xpt_create_path(&tmppath, /*periph*/NULL,
cam_sim_path(sc->s_sim), 0, ns->id) != CAM_REQ_CMP) {
- printf("unable to create path for rescan\n");
+ printf("unable to create path for ns removal\n");
return (ENOMEM);
}
xpt_async(AC_LOST_DEVICE, tmppath, NULL);