summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mount_portalfs
diff options
context:
space:
mode:
authoruqs <uqs@FreeBSD.org>2011-12-30 10:58:14 +0000
committeruqs <uqs@FreeBSD.org>2011-12-30 10:58:14 +0000
commit415a3a9b966c1522657d435a1785904f41accc78 (patch)
tree8895a44928d5c242eb33f5909e96b16aa8b19f50 /usr.sbin/mount_portalfs
parentc12910138c122eb89614cb32832cc1e81e4c23a7 (diff)
downloadFreeBSD-src-415a3a9b966c1522657d435a1785904f41accc78.zip
FreeBSD-src-415a3a9b966c1522657d435a1785904f41accc78.tar.gz
Spelling fixes for usr.sbin/
Diffstat (limited to 'usr.sbin/mount_portalfs')
-rw-r--r--usr.sbin/mount_portalfs/cred.c2
-rw-r--r--usr.sbin/mount_portalfs/pt_pipe.c4
-rw-r--r--usr.sbin/mount_portalfs/pt_tcplisten.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/mount_portalfs/cred.c b/usr.sbin/mount_portalfs/cred.c
index 9e5d9f3..2bd3623 100644
--- a/usr.sbin/mount_portalfs/cred.c
+++ b/usr.sbin/mount_portalfs/cred.c
@@ -39,7 +39,7 @@ __FBSDID("$FreeBSD$");
/*
* Set the process's credentials to those specified in user,
- * saveing the existing ones in save.
+ * saving the existing ones in save.
* Return 0 on success, -1 (with errno set) on error.
*/
int
diff --git a/usr.sbin/mount_portalfs/pt_pipe.c b/usr.sbin/mount_portalfs/pt_pipe.c
index fd54b7e..84ee6e4 100644
--- a/usr.sbin/mount_portalfs/pt_pipe.c
+++ b/usr.sbin/mount_portalfs/pt_pipe.c
@@ -92,7 +92,7 @@ int portal_pipe(struct portal_cred *pcr, char *key, char **v,
if (argc == 0)
return (ENOENT);
- /* Swap priviledges. */
+ /* Swap privileges. */
if (set_user_credentials(pcr, &save_area) < 0)
return (errno);
@@ -137,7 +137,7 @@ int portal_pipe(struct portal_cred *pcr, char *key, char **v,
}
done:
- /* Re-establish our priviledges. */
+ /* Re-establish our privileges. */
if (restore_credentials(&save_area) < 0)
error = errno;
diff --git a/usr.sbin/mount_portalfs/pt_tcplisten.c b/usr.sbin/mount_portalfs/pt_tcplisten.c
index b7febb1..3bd29c1 100644
--- a/usr.sbin/mount_portalfs/pt_tcplisten.c
+++ b/usr.sbin/mount_portalfs/pt_tcplisten.c
@@ -59,7 +59,7 @@ __FBSDID("$FreeBSD$");
* Key will be tcplisten/host/port
*
* Create a TCP socket bound to the requested host and port.
- * If the host is "ANY" the receving address will be set to INADDR_ANY.
+ * If the host is "ANY" the receiving address will be set to INADDR_ANY.
* If the port is 0 the caller must find out the returned port number
* using a call to getsockname.
*
OpenPOWER on IntegriCloud