Hi,

I've noticed some spelling mistakes in man pages and messages.
Patch is attached.

Regards,
Christian

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.
>From 7af74c4f13da8da003ac310153a8cfdbdaac4c0a Mon Sep 17 00:00:00 2001
From: Christian Seiler <[email protected]>
Date: Sun, 31 Jan 2016 19:47:46 +0100
Subject: [PATCH] Some spelling fixes in man pages and messages

Signed-off-by: Christian Seiler <[email protected]>
---
 doc/iscsi_discovery.8 |  4 ++--
 doc/iscsiadm.8        | 18 +++++++++---------
 doc/iscsistart.8      |  2 +-
 usr/iscsistart.c      |  4 ++--
 usr/login.c           |  2 +-
 5 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/doc/iscsi_discovery.8 b/doc/iscsi_discovery.8
index e28065c..807fce3 100644
--- a/doc/iscsi_discovery.8
+++ b/doc/iscsi_discovery.8
@@ -34,7 +34,7 @@ init.d startup script.
 .\" .SH OPTIONS
 .TP
 .BI [-p=]\fIport\-number\fP
-set the port number (defualt is 3260).
+set the port number (default is 3260).
 .TP
 .BI [-d]
 print debugging information.
@@ -52,7 +52,7 @@ force the transport specified by the argument of the \-t flag.
 manual startup - will set manual startup (default is automatic startup).
 .TP
 .BI [-l]
-login - login to the new discovered nodes (defualt is false).
+login - login to the new discovered nodes (default is false).
 
 .SH AUTHOR
 Written by Dan Bar Dov
diff --git a/doc/iscsiadm.8 b/doc/iscsiadm.8
index c7d8c92..5c91e59 100644
--- a/doc/iscsiadm.8
+++ b/doc/iscsiadm.8
@@ -228,7 +228,7 @@ display help text and exit
 
 .TP
 \fB\-H\fR, \fB\-\-host=\fI[hostno|MAC]\fR
-The host agrument specifies the SCSI host to use for the operation. It can be
+The host argument specifies the SCSI host to use for the operation. It can be
 the scsi host number assigned to the host by the kernel's scsi layer, or the
 MAC address of a scsi host.
 
@@ -251,10 +251,10 @@ layer's interface name (iface.net_ifacename), and it must have the
 driver/transport_name
 
 The available drivers/iscsi_transports are tcp (software iSCSI over TCP/IP),
-iser (software iSCSI over infinniband), or qla4xxx (Qlogic 4XXXX HBAs). The
+iser (software iSCSI over InfiniBand), or qla4xxx (Qlogic 4XXXX HBAs). The
 hwaddress is the MAC address or for software iSCSI it may be the special
 value "default" which directs the initiator to not bind the session to a
-specific hardware resource and instead allow the network or infinniband layer
+specific hardware resource and instead allow the network or InfiniBand layer
 to decide what to do. There is no need to create a iface config with the default
 behavior. If you do not specify a iface, then the default behavior is used.
 
@@ -268,7 +268,7 @@ In discovery mode multiple interfaces can be specified by passing in multiple
 "iscsiadm \-m discoverydb \-t st \-p ip:port \-I iface0 \-I iface2 \-\-discover"
 
 Will direct iscsiadm to setup the node db to create records which will create
-sessions though the two intefaces passed in.
+sessions though the two interfaces passed in.
 
 In node mode, only a single interface is supported in each call to iscsiadm.
 .IP
@@ -303,7 +303,7 @@ This option is only valid for discovery and node modes.
 .TP
 \fB\-L\fR, \fB\-\-loginall==\fI[all|manual|automatic]\fR
 For node mode, login all sessions with the node or conn startup values passed
-in or all running sesssion, except ones marked onboot, if all is passed in.
+in or all running session, except ones marked onboot, if all is passed in.
 .IP
 This option is only valid for node mode (it is valid but not functional
 for session mode).
@@ -352,7 +352,7 @@ In discovery mode, if the \fIrecid\fR and new operation is passed in, but the \f
 .IP
 \fIupdate\fR will update the \fIrecid\fR with \fIname\fR to the specified \fIvalue\fR. In discovery node, if iscsiadm is performing discovery the \fIrecid\fR, \fIname\fR  and \fIvalue\fR arguments are not needed. The update operation will operate on the portals returned by the target, and will update the node records with info from the config file and command line.
 .IP
-\fIshow\fR is the default behaviour for node, discovery and iface mode. It is
+\fIshow\fR is the default behavior for node, discovery and iface mode. It is
 also used when there are no commands passed into session mode and a running
 sid is passed in.
 \fIname\fR and \fIvalue\fR are currently ignored when used with \fIshow\fR.
@@ -445,7 +445,7 @@ This option is only valid for node and session mode.
 .TP
 \fB\-U\fR, \fB\-\-logoutall==\fI[all,manual,automatic]\fR
 logout all sessions with the node or conn startup values passed in or all
-running sesssion, except ones marked onboot, if all is passed in.
+running session, except ones marked onboot, if all is passed in.
 .IP
 This option is only valid for node mode (it is valid but not functional
 for session mode).
@@ -568,7 +568,7 @@ ISCSI_ERR_INVAL - invalid argument.
 .TP
 .B
 8
-ISCSI_ERR_TRANS_TIMEOUT - connection timer exired while trying to connect.
+ISCSI_ERR_TRANS_TIMEOUT - connection timer expired while trying to connect.
 
 .TP
 .B
@@ -583,7 +583,7 @@ ISCSI_ERR_LOGOUT - iSCSI logout failed.
 .TP
 .B
 11
-ISCSI_ERR_PDU_TIMEOUT - iSCSI PDU timedout.
+ISCSI_ERR_PDU_TIMEOUT - iSCSI PDU timed out.
 
 .TP
 .B
diff --git a/doc/iscsistart.8 b/doc/iscsistart.8
index 3f8cbda..dbc383b 100644
--- a/doc/iscsistart.8
+++ b/doc/iscsistart.8
@@ -22,7 +22,7 @@ Set TargetName to name (Required if not using iBFT or OF)
 Set target portal group tag to N (Required if not using iBFT or OF)
 .TP
 .BI [-a|--address=]\fIA.B.C.D\fP
-Set IP addres to A.B.C.D (Required if not using iBFT or OF)
+Set IP address to A.B.C.D (Required if not using iBFT or OF)
 .TP
 .BI [-p|--port=]\fIN\fP
 Set port to N (Optional. Default 3260)
diff --git a/usr/iscsistart.c b/usr/iscsistart.c
index 7ff2236..6fe1dec 100644
--- a/usr/iscsistart.c
+++ b/usr/iscsistart.c
@@ -97,10 +97,10 @@ Open-iSCSI initiator.\n\
   -i, --initiatorname=name set InitiatorName to name (Required)\n\
   -t, --targetname=name    set TargetName to name (Required)\n\
   -g, --tgpt=N             set target portal group tag to N (Required)\n\
-  -a, --address=A.B.C.D    set IP addres to A.B.C.D (Required)\n\
+  -a, --address=A.B.C.D    set IP address to A.B.C.D (Required)\n\
   -p, --port=N             set port to N (Default 3260)\n\
   -u, --username=N         set username to N (optional)\n\
-  -w, --password=N         set password to N (optional\n\
+  -w, --password=N         set password to N (optional)\n\
   -U, --username_in=N      set incoming username to N (optional)\n\
   -W, --password_in=N      set incoming password to N (optional)\n\
   -d, --debug=debuglevel   print debugging information \n\
diff --git a/usr/login.c b/usr/login.c
index 8289b03..294ad0b 100644
--- a/usr/login.c
+++ b/usr/login.c
@@ -1559,7 +1559,7 @@ repoll:
 		log_debug(7, "%s: Poll return %d", __FUNCTION__, ret);
 		if (iscsi_timer_expired(&connection_timer)) {
 			log_warning("Login response timeout. Waited %d "
-				    "seconds and did not get reponse PDU.",
+				    "seconds and did not get response PDU.",
 				    session->conn[0].active_timeout);
 			c->ret = LOGIN_FAILED;
 			return c->ret;
-- 
2.1.4

Reply via email to