Make output of "iscsictl -v" and "ctladm islist -v" a little prettier

by capitalizing "None".

MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Edward Tomasz Napierala 2015-02-08 10:58:25 +00:00
parent b3d44a6800
commit d4b195d315
2 changed files with 2 additions and 2 deletions

View file

@ -96,7 +96,7 @@ icl_find(const char *name)
}
TAILQ_FOREACH(im, &sc->sc_modules, im_next) {
if (strcmp(im->im_name, name) == 0)
if (strcasecmp(im->im_name, name) == 0)
return (im);
}

View file

@ -1183,7 +1183,7 @@ icl_soft_new_conn(const char *name, struct mtx *lock)
#endif
ic->ic_max_data_segment_length = ICL_MAX_DATA_SEGMENT_LENGTH;
ic->ic_name = name;
ic->ic_offload = "none";
ic->ic_offload = "None";
return (ic);
}