svn commit: r284044 - head/sys/cam/ctl
Alexander Motin
mav at FreeBSD.org
Fri Jun 5 20:30:37 UTC 2015
Author: mav
Date: Fri Jun 5 20:30:36 2015
New Revision: 284044
URL: https://svnweb.freebsd.org/changeset/base/284044
Log:
Fix wrong function name in error message.
MFC after: 3 days
Modified:
head/sys/cam/ctl/ctl.c
Modified: head/sys/cam/ctl/ctl.c
==============================================================================
--- head/sys/cam/ctl/ctl.c Fri Jun 5 18:16:10 2015 (r284043)
+++ head/sys/cam/ctl/ctl.c Fri Jun 5 20:30:36 2015 (r284044)
@@ -5011,9 +5011,9 @@ ctl_disable_lun(struct ctl_be_lun *be_lu
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);
}
}
More information about the svn-src-all
mailing list