summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@herrb.eu>2021-01-01 18:05:45 +0100
committerMatthieu Herrb <matthieu@herrb.eu>2021-08-30 19:46:47 +0200
commit827a38509c14a79666d98458a51c8361f832934f (patch)
treee069b5311e46a4dde07bb3d332991bca17a8cb73
parent904a57bf917f82a07716b2a8626deaa59a5b952a (diff)
Fix spelling/wording issues.
From Alan Coopersmith in xdm
-rw-r--r--include/greet.h4
-rw-r--r--xenodm/auth.c2
-rw-r--r--xenodm/dm.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/include/greet.h b/include/greet.h
index 54bcca7..eb67928 100644
--- a/include/greet.h
+++ b/include/greet.h
@@ -34,7 +34,7 @@ from The Open Group.
/*
* Return values for GreetUser();
- * Values must be explictly defined because the greet library
+ * Values must be explicitly defined because the greet library
* may come from a different vendor.
* Negative values indicate an error.
*/
@@ -50,7 +50,7 @@ typedef enum {
* should start a session.
*
* GreetUser is passed the xdm struct display pointer, a pointer to a
- * Display, and pointers to greet and verify structs. If it expectes xdm
+ * Display, and pointers to greet and verify structs. If it expects xdm
* to run the session, it fills in the Display pointer and the fields
* of the greet and verify structs.
*
diff --git a/xenodm/auth.c b/xenodm/auth.c
index 810f4cf..524dfde 100644
--- a/xenodm/auth.c
+++ b/xenodm/auth.c
@@ -153,7 +153,7 @@ CleanUpFileName (char *src, char *dst, int len)
}
/* Checks to see if specified directory exists, makes it if not
- * Returns: 0 if already exists, 1 if created, < 0 if error occured
+ * Returns: 0 if already exists, 1 if created, < 0 if error occurred
*/
static int
CheckServerAuthDir (const char *path, struct stat *statb, int mode)
diff --git a/xenodm/dm.c b/xenodm/dm.c
index aab2453..5369803 100644
--- a/xenodm/dm.c
+++ b/xenodm/dm.c
@@ -257,7 +257,7 @@ StopAll (int n)
{
/*
* We are a child xdm process that was killed by the
- * master xdm before we were able to return from fork()
+ * parent xdm before we were able to return from fork()
* and remove this signal handler.
*
* See defect XWSog08655 for more information.