diff options
author | trasz <trasz@FreeBSD.org> | 2015-02-08 10:58:25 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2015-02-08 10:58:25 +0000 |
commit | 688ac0957bd6f6694f1ef0de39aece64efebe18e (patch) | |
tree | 9758ccd5ed73dfc94a2b7f45a762971a07679fc6 | |
parent | f975fdf49432296cbb28bc269ba1d1c220e549de (diff) | |
download | FreeBSD-src-688ac0957bd6f6694f1ef0de39aece64efebe18e.zip FreeBSD-src-688ac0957bd6f6694f1ef0de39aece64efebe18e.tar.gz |
Make output of "iscsictl -v" and "ctladm islist -v" a little prettier
by capitalizing "None".
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
-rw-r--r-- | sys/dev/iscsi/icl.c | 2 | ||||
-rw-r--r-- | sys/dev/iscsi/icl_soft.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/iscsi/icl.c b/sys/dev/iscsi/icl.c index a60313c..2e92f2a 100644 --- a/sys/dev/iscsi/icl.c +++ b/sys/dev/iscsi/icl.c @@ -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); } diff --git a/sys/dev/iscsi/icl_soft.c b/sys/dev/iscsi/icl_soft.c index da8c926..9d47471 100644 --- a/sys/dev/iscsi/icl_soft.c +++ b/sys/dev/iscsi/icl_soft.c @@ -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); } |