Date: Tue, 7 Feb 2017 01:38:48 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r313362 - stable/11/sys/cam/ctl Message-ID: <201702070138.v171cmj7091398@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Tue Feb 7 01:38:48 2017 New Revision: 313362 URL: https://svnweb.freebsd.org/changeset/base/313362 Log: MFC r312343: Improve error message on duplicate iSCSI port. Modified: stable/11/sys/cam/ctl/ctl_frontend_iscsi.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/cam/ctl/ctl_frontend_iscsi.c ============================================================================== --- stable/11/sys/cam/ctl/ctl_frontend_iscsi.c Tue Feb 7 01:33:39 2017 (r313361) +++ stable/11/sys/cam/ctl/ctl_frontend_iscsi.c Tue Feb 7 01:38:48 2017 (r313362) @@ -2073,7 +2073,8 @@ cfiscsi_ioctl_port_create(struct ctl_req if (ct->ct_state == CFISCSI_TARGET_STATE_ACTIVE) { req->status = CTL_LUN_ERROR; snprintf(req->error_str, sizeof(req->error_str), - "target \"%s\" already exists", target); + "target \"%s\" for portal group tag %u already exists", + target, tag); cfiscsi_target_release(ct); ctl_free_opts(&opts); return;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702070138.v171cmj7091398>