From: Justin Mitchell <jumitche@redhat.com>
To: Linux NFS Mailing list <linux-nfs@vger.kernel.org>,
Steve Dickson <steved@redhat.com>
Cc: calum.mackay@oracle.com
Subject: [PATCH] nfs-utils: Spelling fixes
Date: Fri, 22 Jun 2018 10:41:10 +0100 [thread overview]
Message-ID: <1529660470.7576.3.camel@redhat.com> (raw)
Fix some typos in the nfs.conf related code
Signed-off-by: Justin Mitchell <jumitche@redhat.com>
---
support/nfs/conffile.c | 2 +-
tools/nfsconf/nfsconf.man | 4 ++--
tools/nfsconf/nfsconfcli.c | 6 +++---
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/support/nfs/conffile.c b/support/nfs/conffile.c
index 4e5cf9d..3845b94 100644
--- a/support/nfs/conffile.c
+++ b/support/nfs/conffile.c
@@ -640,7 +640,7 @@ conf_get_num(const char *section, const char *tag, int def)
/*
* Return the Boolean value denoted by TAG in section SECTION, or DEF
* if that tags does not exist.
- * FALSE is returned for case-insensitve comparisons with 0, f, false, n, no, off
+ * FALSE is returned for case-insensitive comparisons with 0, f, false, n, no, off
* TRUE is returned for 1, t, true, y, yes, on
* A failure to match one of these results in DEF
*/
diff --git a/tools/nfsconf/nfsconf.man b/tools/nfsconf/nfsconf.man
index 197caae..1ae8543 100644
--- a/tools/nfsconf/nfsconf.man
+++ b/tools/nfsconf/nfsconf.man
@@ -79,7 +79,7 @@ Select a different config file to operate upon, default is
Select a specific sub-section
.SH EXIT STATUS
.SS \fB\-\-isset\fR mode
-In this mode the command will return success (0) if the selected tag has a value, any other exit code indicates the value is not set, or some other error has occured.
+In this mode the command will return success (0) if the selected tag has a value, any other exit code indicates the value is not set, or some other error has occurred.
.SS all other modes
Success is indicated by an exit status of zero, any other status indicates an error. Error messages are output on stderr, and increasing verbosity will give more detailed explanations if any are available.
.SH EXAMPLES
@@ -87,7 +87,7 @@ Success is indicated by an exit status of zero, any other status indicates an er
.B nfsconf -v --dump --file /tmp/testconf.conf sorted.conf
Check a new config file for syntax errors and output a sorted version for ease of comparison with existing settings.
.TP
-.B if ! nfsconf --isset gssd preferred-realm ; then echo 'No prefered realm configured for gss'; fi
+.B if ! nfsconf --isset gssd preferred-realm ; then echo 'No preferred realm configured for gss'; fi
The tool allows for easy testing of configuration values from shell scripts, here we test if a specific value has been set.
.TP
.B nfsconf --file /etc/nfsmount.conf --get --arg /home MountPoint background
diff --git a/tools/nfsconf/nfsconfcli.c b/tools/nfsconf/nfsconfcli.c
index b5cb132..f98d0d1 100644
--- a/tools/nfsconf/nfsconfcli.c
+++ b/tools/nfsconf/nfsconfcli.c
@@ -69,7 +69,7 @@ int main(int argc, char **argv)
case 0:
break;
case 'f':
- /* user specified souce path for config */
+ /* user specified source path for config */
confpath = optarg;
break;
case 'a':
@@ -110,7 +110,7 @@ int main(int argc, char **argv)
xlog_config(D_ALL, 1);
xlog_stderr(1);
xlog_syslog(0);
- xlog_open("nfsconftool");
+ xlog_open("nfsconf");
if (mode == MODE_NONE) {
fprintf(stderr, "Error: No MODE selected.\n");
@@ -223,7 +223,7 @@ int main(int argc, char **argv)
ret = 1;
}
} else {
- fprintf(stderr, "Mode not yet implimented.\n");
+ fprintf(stderr, "Mode not yet implemented.\n");
ret = 2;
}
--
1.8.3.1
next reply other threads:[~2018-06-22 9:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-22 9:41 Justin Mitchell [this message]
2018-06-25 15:37 ` [PATCH] nfs-utils: Spelling fixes Steve Dickson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1529660470.7576.3.camel@redhat.com \
--to=jumitche@redhat.com \
--cc=calum.mackay@oracle.com \
--cc=linux-nfs@vger.kernel.org \
--cc=steved@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.