summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2021-11-28 14:53:09 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2021-11-28 14:53:09 -0800
commit3d66d6c70b33380ae4d3008ce62971825da8e8fb (patch)
tree1616f3ae4a7288d44ec3dc13a436962fdc2ac8cc
parent3a91ab7d228f4c1a28970e447cff7d1a960db2fe (diff)
Fix spelling/wording issues
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--README.md2
-rw-r--r--configure.ac2
-rw-r--r--sessreg.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 16ce6b1..73bdf88 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,7 @@ Xorg mailing list:
https://lists.x.org/mailman/listinfo/xorg
-The master development code repository can be found at:
+The primary development code repository can be found at:
https://gitlab.freedesktop.org/xorg/app/sessreg
diff --git a/configure.ac b/configure.ac
index 32cf13a..210e65a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -66,7 +66,7 @@ AC_CHECK_TYPES([
# Checks for library functions.
AC_CHECK_FUNCS([pututline updwtmpx utmpxname])
-# Obtain compiler/linker options for depedencies
+# Obtain compiler/linker options for dependencies
PKG_CHECK_MODULES(SESSREG, [xproto >= 7.0.25])
AC_CONFIG_FILES([
diff --git a/sessreg.c b/sessreg.c
index 9680851..c574f6e 100644
--- a/sessreg.c
+++ b/sessreg.c
@@ -603,7 +603,7 @@ set_utmpx (struct utmpx *u, const char *line, const char *user,
* compute the slot-number for an X display. This is computed
* by counting the lines in /etc/ttys and adding the line-number
* that the display appears on in Xservers. This is a poor
- * design, but is limited by the non-existant interface to utmp.
+ * design, but is limited by the non-existent interface to utmp.
* If host_name is non-NULL, assume it contains the display name,
* otherwise use the tty_line argument (i.e., the tty name).
*/
@@ -658,7 +658,7 @@ Xslot (char *ttys_file, char *servers_file, char *tty_line, char *host_name,
column0 = 1;
}
/*
- * display not found in Xservers file - allocate utmp entry dinamically
+ * display not found in Xservers file - allocate utmp entry dynamically
*/
return findslot (tty_line, host_name, addp, slot);
}