svn commit: r278378 - head/sys/dev/iscsi
Edward Tomasz Napierala
trasz at FreeBSD.org
Sun Feb 8 10:58:27 UTC 2015
Author: trasz
Date: Sun Feb 8 10:58:25 2015
New Revision: 278378
URL: https://svnweb.freebsd.org/changeset/base/278378
Log:
Make output of "iscsictl -v" and "ctladm islist -v" a little prettier
by capitalizing "None".
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/dev/iscsi/icl.c
head/sys/dev/iscsi/icl_soft.c
Modified: head/sys/dev/iscsi/icl.c
==============================================================================
--- head/sys/dev/iscsi/icl.c Sun Feb 8 10:17:20 2015 (r278377)
+++ head/sys/dev/iscsi/icl.c Sun Feb 8 10:58:25 2015 (r278378)
@@ -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);
}
Modified: head/sys/dev/iscsi/icl_soft.c
==============================================================================
--- head/sys/dev/iscsi/icl_soft.c Sun Feb 8 10:17:20 2015 (r278377)
+++ head/sys/dev/iscsi/icl_soft.c Sun Feb 8 10:58:25 2015 (r278378)
@@ -1183,7 +1183,7 @@ icl_soft_new_conn(const char *name, stru
#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);
}
More information about the svn-src-all
mailing list