svn commit: r261768 - head/usr.sbin/ctld

Edward Tomasz Napierala trasz at FreeBSD.org
Tue Feb 11 11:38:45 UTC 2014


Author: trasz
Date: Tue Feb 11 11:38:44 2014
New Revision: 261768
URL: http://svnweb.freebsd.org/changeset/base/261768

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

Modified:
  head/usr.sbin/ctld/ctld.c

Modified: head/usr.sbin/ctld/ctld.c
==============================================================================
--- head/usr.sbin/ctld/ctld.c	Tue Feb 11 11:37:49 2014	(r261767)
+++ head/usr.sbin/ctld/ctld.c	Tue Feb 11 11:38:44 2014	(r261768)
@@ -1227,8 +1227,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_name, oldlun->l_lun,
 				    oldlun->l_ctl_lun);
@@ -1254,7 +1254,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_name,
 				    oldlun->l_ctl_lun);
 				error = kernel_lun_remove(oldlun);


More information about the svn-src-all mailing list