diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-03-05 08:09:19 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-03-05 08:09:19 -0800 |
commit | 56cdb14923310bfa4d393f2acfffeadb04d806c0 (patch) | |
tree | bf2afc21c4793db0efa5b6df1c84a15d49c9d011 | |
parent | e6ccf19f8d1f71ef79f192b4ca9debf7280232a3 (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.md | 2 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/sm_client.c | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -6,7 +6,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/lib/libSM diff --git a/configure.ac b/configure.ac index 210f9c8..9c76f77 100644 --- a/configure.ac +++ b/configure.ac @@ -23,7 +23,7 @@ XORG_WITH_FOP XORG_WITH_XSLTPROC XORG_CHECK_SGML_DOCTOOLS(1.8) -# Obtain compiler/linker options for depedencies +# Obtain compiler/linker options for dependencies PKG_CHECK_MODULES(SM, [ice >= 1.0.5] xproto xtrans) # Needed to check for TCP & IPv6 support and set flags appropriately diff --git a/src/sm_client.c b/src/sm_client.c index 7d00961..7e9c986 100644 --- a/src/sm_client.c +++ b/src/sm_client.c @@ -224,7 +224,7 @@ SmcOpenConnection(char *networkIdsList, SmPointer context, if (ioErrorOccured) { if (errorStringRet && errorLength > 0) { - strncpy (errorStringRet, "IO error occured opening connection", + strncpy (errorStringRet, "IO error occurred opening connection", errorLength); errorStringRet[errorLength - 1] = '\0'; } |