diff options
| author | Yuri Pankov <yuri.pankov@gmail.com> | 2016-02-29 12:22:56 +0300 |
|---|---|---|
| committer | Dan McDonald <danmcd@omniti.com> | 2016-03-17 11:32:22 -0400 |
| commit | f4525cdb366a3fb21a12f42bedd55ecca098e7c4 (patch) | |
| tree | b9b34689e4db34f47936bb017fb847050f017c7b | |
| parent | aa83d55962a262cb794a1c25165fc467d78f6914 (diff) | |
| download | illumos-joyent-f4525cdb366a3fb21a12f42bedd55ecca098e7c4.tar.gz | |
6692 incorrect error message when trying to delete a section using sharectl(1M)
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
Reviewed by: Marcel Telka <marcel@telka.sk>
Approved by: Dan McDonald <danmcd@omniti.com>
| -rw-r--r-- | usr/src/cmd/dfs.cmds/sharectl/sharectl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/cmd/dfs.cmds/sharectl/sharectl.c b/usr/src/cmd/dfs.cmds/sharectl/sharectl.c index 9698a8a147..fa76193d9a 100644 --- a/usr/src/cmd/dfs.cmds/sharectl/sharectl.c +++ b/usr/src/cmd/dfs.cmds/sharectl/sharectl.c @@ -504,7 +504,7 @@ sc_delsect(sa_handle_t handle, int flags, int argc, char *argv[]) if ((sa_proto_get_featureset(proto) & SA_FEATURE_HAS_SECTIONS) == 0) { (void) printf(gettext("Protocol %s does not have sections\n"), - section, proto); + proto); return (SA_NOT_SUPPORTED); } |
