Author: trasz
Date: Tue Mar 25 11:46:46 2014
New Revision: 263716
URL: http://svnweb.freebsd.org/changeset/base/263716

Log:
  MFC r261768:
  
  Make the debug messages during ctld(8) shutdown less confusing.
  
  Sponsored by: The FreeBSD Foundation

Modified:
  stable/10/usr.sbin/ctld/ctld.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/usr.sbin/ctld/ctld.c
==============================================================================
--- stable/10/usr.sbin/ctld/ctld.c      Tue Mar 25 11:45:03 2014        
(r263715)
+++ stable/10/usr.sbin/ctld/ctld.c      Tue Mar 25 11:46:46 2014        
(r263716)
@@ -1057,8 +1057,8 @@ conf_apply(struct conf *oldconf, struct 
                if (newtarg == NULL) {
                        TAILQ_FOREACH_SAFE(oldlun, &oldtarg->t_luns, l_next,
                            tmplun) {
-                               log_debugx("target %s not found in the "
-                                   "configuration file; removing its lun %d, "
+                               log_debugx("target %s not found in new "
+                                   "configuration; removing its lun %d, "
                                    "backed by CTL lun %d",
                                    oldtarg->t_iqn, oldlun->l_lun,
                                    oldlun->l_ctl_lun);
@@ -1084,7 +1084,7 @@ conf_apply(struct conf *oldconf, struct 
                        newlun = lun_find(newtarg, oldlun->l_lun);
                        if (newlun == NULL) {
                                log_debugx("lun %d, target %s, CTL lun %d "
-                                   "not found in the configuration file; "
+                                   "not found in new configuration; "
                                    "removing", oldlun->l_lun, oldtarg->t_iqn,
                                    oldlun->l_ctl_lun);
                                error = kernel_lun_remove(oldlun);
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to