From c045bddf3f1e888b2c709fc41467e6d836e12eef Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Thu, 3 Aug 2017 08:38:05 +0200 Subject: [PATCH] Fix typos in some error messages --- channels/rdpgfx/client/rdpgfx_main.c | 2 +- winpr/libwinpr/comm/comm_serial_sys.c | 2 +- winpr/tools/hash-cli/hash.c | 2 +- winpr/tools/makecert-cli/winpr-makecert.1.in | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/channels/rdpgfx/client/rdpgfx_main.c b/channels/rdpgfx/client/rdpgfx_main.c index ec95015..040fa5c 100644 --- a/channels/rdpgfx/client/rdpgfx_main.c +++ b/channels/rdpgfx/client/rdpgfx_main.c @@ -1684,7 +1684,7 @@ UINT DVCPluginEntry(IDRDYNVC_ENTRY_POINTS* pEntryPoints) if (!gfx->log) { free(gfx); - WLog_ERR(TAG, "Failed to aquire reference to WLog %s", TAG); + WLog_ERR(TAG, "Failed to acquire reference to WLog %s", TAG); return ERROR_INTERNAL_ERROR; } diff --git a/winpr/libwinpr/comm/comm_serial_sys.c b/winpr/libwinpr/comm/comm_serial_sys.c index 950f36f..c6b3ad7 100644 --- a/winpr/libwinpr/comm/comm_serial_sys.c +++ b/winpr/libwinpr/comm/comm_serial_sys.c @@ -1209,7 +1209,7 @@ static BOOL _get_commstatus(WINPR_COMM *pComm, SERIAL_STATUS *pCommstatus) if (ioctl(pComm->fd, TIOCGICOUNT, ¤tCounters) < 0) { CommLog_Print(WLOG_WARN, "TIOCGICOUNT ioctl failed, errno=[%d] %s.", errno, strerror(errno)); - CommLog_Print(WLOG_WARN, " coult not read counters."); + CommLog_Print(WLOG_WARN, " could not read counters."); if (pComm->permissive) { diff --git a/winpr/tools/hash-cli/hash.c b/winpr/tools/hash-cli/hash.c index e295a7c..d54b30e 100644 --- a/winpr/tools/hash-cli/hash.c +++ b/winpr/tools/hash-cli/hash.c @@ -116,7 +116,7 @@ int main(int argc, char* argv[]) if ((version != 1) && (version != 2)) { - printf("unkown version %d \n\n", version); + printf("unknown version %d \n\n", version); usage_and_exit(); } } diff --git a/winpr/tools/makecert-cli/winpr-makecert.1.in b/winpr/tools/makecert-cli/winpr-makecert.1.in index 302bc6a..7de91dd 100644 --- a/winpr/tools/makecert-cli/winpr-makecert.1.in +++ b/winpr/tools/makecert-cli/winpr-makecert.1.in @@ -15,7 +15,7 @@ winpr\-makecert \- A tool to create X.509 certificates. [\fB-n\fP common_name] [\fB-y\fP years] [\fB-m\fP months] -[\fB-len\fP lenth] +[\fB-len\fP length] [\fB-#\fP serial] [\fB-a\fP { \fImd5\fP | \fIsha1\fP | \fIsha256\fP | \fIs384\fP | \fIsha512\fP }] [\fB-path\fP outputpath] -- 2.7.4