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);
                }
        }
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "[email protected]"

Reply via email to