Make the debug messages during ctld(8) shutdown less confusing.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Edward Tomasz Napierala 2014-02-11 11:38:44 +00:00
parent 6dc3a9f496
commit cadf3831b3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=261768

View File

@ -1227,8 +1227,8 @@ conf_apply(struct conf *oldconf, struct conf *newconf)
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 conf *newconf)
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);