summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2015-06-08 16:24:43 +0000
committermav <mav@FreeBSD.org>2015-06-08 16:24:43 +0000
commitf88c04b67f41f7ca9d84e60694b766ad181bddca (patch)
tree067cb07a98145c7bfeb674b6413cfc1a9a307ab1
parent671a7ebb0b92030ad548c251e9a2d7c965babe9c (diff)
downloadFreeBSD-src-f88c04b67f41f7ca9d84e60694b766ad181bddca.zip
FreeBSD-src-f88c04b67f41f7ca9d84e60694b766ad181bddca.tar.gz
MFC r284044: Fix wrong function name in error message.
-rw-r--r--sys/cam/ctl/ctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/cam/ctl/ctl.c b/sys/cam/ctl/ctl.c
index bbc8b41..7321f14 100644
--- a/sys/cam/ctl/ctl.c
+++ b/sys/cam/ctl/ctl.c
@@ -5013,9 +5013,9 @@ ctl_disable_lun(struct ctl_be_lun *be_lun)
lun->lun);
mtx_lock(&softc->ctl_lock);
if (retval != 0) {
- printf("ctl_alloc_lun: FETD %s port %d returned error "
+ printf("%s: FETD %s port %d returned error "
"%d for lun_disable on target %ju lun %jd\n",
- port->port_name, port->targ_port, retval,
+ __func__, port->port_name, port->targ_port, retval,
(uintmax_t)lun->target.id, (intmax_t)lun->lun);
}
}
OpenPOWER on IntegriCloud