Author: mav
Date: Tue Feb  7 01:39:25 2017
New Revision: 313363
URL: https://svnweb.freebsd.org/changeset/base/313363

Log:
  MFC r312343: Improve error message on duplicate iSCSI port.

Modified:
  stable/10/sys/cam/ctl/ctl_frontend_iscsi.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/cam/ctl/ctl_frontend_iscsi.c
==============================================================================
--- stable/10/sys/cam/ctl/ctl_frontend_iscsi.c  Tue Feb  7 01:38:48 2017        
(r313362)
+++ stable/10/sys/cam/ctl/ctl_frontend_iscsi.c  Tue Feb  7 01:39:25 2017        
(r313363)
@@ -1998,7 +1998,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;
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to