From: Jair Reis <jmsrdebian@protonmail.com>
Date: Tue, 18 Mar 2025 08:06:28 +0100
Subject: Fixed some spelling errors in src/pmount.c and src/pumount.c.

Last-Update: 2020-05-29

===================================================================
---
 src/pmount.c  | 10 +++++-----
 src/pumount.c |  2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/pmount.c b/src/pmount.c
index 2b2df4a..977636d 100644
--- a/src/pmount.c
+++ b/src/pmount.c
@@ -68,9 +68,9 @@ usage( const char* exename )
 
     printf( _("%s --lock <device> <pid>\n"
     "  Prevent further pmounts of <device> until it is unlocked again. <pid>\n"
-    "  specifies the process id the lock holds for. This allows to lock a device\n"
+    "  specifies the process id the lock holds for. This allows one to lock a device\n"
     "  by several independent processes and avoids indefinite locks of crashed\n"
-    "  processes (nonexistant pids are cleaned before attempting a mount).\n\n"),
+    "  processes (nonexistent pids are cleaned before attempting a mount).\n\n"),
         exename );
 
     printf( _("%s --unlock <device> <pid>\n"
@@ -87,7 +87,7 @@ usage( const char* exename )
     "  -c <charset>: use given I/O character set (default: 'utf8' if called\n"
     "                in an UTF-8 locale, otherwise mount default)\n"
     "  -u <umask>  : use specified umask instead of the default (only for\n"
-    "                file sytems which actually support umask setting)\n"
+    "                file systems which actually support umask setting)\n"
     "  --fmask <fmask>\n"
     "                use specified fmask\n"
     "  --dmask <dmask>\n"
@@ -96,7 +96,7 @@ usage( const char* exename )
     "                read passphrase from file instead of the terminal\n"
     "                (only for LUKS encrypted devices)\n"
     "  -d, --debug : enable debug output (very verbose)\n"
-    "  -h, --help  : print this help message and exit successfuly\n"
+    "  -h, --help  : print this help message and exit successfully\n"
     "  -V, --version\n"
     "                print version number and exit successfully") );
 }
@@ -533,7 +533,7 @@ do_unlock( const char* device, pid_t pid )
         drop_root();
 
         if( result ) {
-            /* ignore nonexistant lock files, but report other errors */
+            /* ignore nonexistent lock files, but report other errors */
             if( errno != ENOENT ) {
                 fprintf( stderr, _("Error: could not remove pid lock file %s: %s\n"),
                          lockfilepath, strerror( errno ) );
diff --git a/src/pumount.c b/src/pumount.c
index e442a01..05b56e5 100644
--- a/src/pumount.c
+++ b/src/pumount.c
@@ -49,7 +49,7 @@ usage( const char* exename )
     "  -l, --lazy   : umount lazily, see umount(8)\n"
     "  --luks-force : luksClose devices pmount didn't open\n"
     "  -d, --debug  : enable debug output (very verbose)\n"
-    "  -h, --help   : print help message and exit successfuly\n"
+    "  -h, --help   : print help message and exit successfully\n"
     "  --version    : print version number and exit successfully\n"),
         exename, MEDIADIR );
 }
