 -
 +	
 +	argc = xo_parse_args(argc, argv);
-+	xo_open_container("iscsi-information");
++	xo_open_container("iscsictl");
 +	
  	while ((ch = getopt(argc, argv, "AMRLac:d:i:n:p:t:u:s:v")) != -1) {
  		switch (ch) {

 			break;
 		}
+		
+		int lunNo=0;
 
 		for (i = 0; i < ccb.cdm.num_matches; i++) {
 			switch (ccb.cdm.matches[i].type) {

 	if (failed > 0)
 		return (1);
+		
+	xo_close_container("iscsictl");
+	xo_finish();
 	return (0);
 }
diff -dur /usr/src/usr.bin/iscsictl/periphs.c ./periphs.c
--- /usr/src/usr.bin/iscsictl/periphs.c	2015-03-06 08:54:51.814319000 +0100
+++ ./periphs.c	2015-03-08 18:18:47.000000000 +0100
@@ -58,6 +58,7 @@
 #include <cam/scsi/smp_all.h>
 #include <cam/ata/ata_all.h>
