summaryrefslogtreecommitdiff
path: root/sessreg.c
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 /sessreg.c
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>
Diffstat (limited to 'sessreg.c')
-rw-r--r--sessreg.c4
1 files changed, 2 insertions, 2 deletions
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);
}