From 56cdb14923310bfa4d393f2acfffeadb04d806c0 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 5 Mar 2022 08:09:19 -0800 Subject: Fix spelling/wording issues Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith --- README.md | 2 +- configure.ac | 2 +- src/sm_client.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1eb0e41..0dbce69 100644 --- a/README.md +++ b/README.md @@ -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'; } -- cgit v1.2.1