svn commit: r284158 - stable/10/sys/cam/ctl
Alexander Motin
mav at FreeBSD.org
Mon Jun 8 16:24:44 UTC 2015
Author: mav
Date: Mon Jun 8 16:24:43 2015
New Revision: 284158
URL: https://svnweb.freebsd.org/changeset/base/284158
Log:
MFC r284044: Fix wrong function name in error message.
Modified:
stable/10/sys/cam/ctl/ctl.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/cam/ctl/ctl.c
==============================================================================
--- stable/10/sys/cam/ctl/ctl.c Mon Jun 8 16:07:07 2015 (r284157)
+++ stable/10/sys/cam/ctl/ctl.c Mon Jun 8 16:24:43 2015 (r284158)
@@ -5013,9 +5013,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