[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 23/24] qga/: spelling fixes
From: |
Michael Tokarev |
Subject: |
[PATCH 23/24] qga/: spelling fixes |
Date: |
Wed, 23 Aug 2023 09:53:34 +0300 |
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
qga/channel-posix.c | 2 +-
qga/commands-posix-ssh.c | 2 +-
qga/commands-posix.c | 2 +-
qga/commands-win32.c | 4 ++--
qga/main.c | 2 +-
qga/vss-win32/install.cpp | 4 ++--
6 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/qga/channel-posix.c b/qga/channel-posix.c
index 0c5175d957..465d688ecb 100644
--- a/qga/channel-posix.c
+++ b/qga/channel-posix.c
@@ -153,5 +153,5 @@ static gboolean ga_channel_open(GAChannel *c, const gchar
*path,
/*
* In the default state channel sends echo of every command to a
- * client. The client programm doesn't expect this and raises an
+ * client. The client program doesn't expect this and raises an
* error. Suppress echo by resetting ECHO terminal flag.
*/
diff --git a/qga/commands-posix-ssh.c b/qga/commands-posix-ssh.c
index f3a580b8cc..236f80de44 100644
--- a/qga/commands-posix-ssh.c
+++ b/qga/commands-posix-ssh.c
@@ -383,5 +383,5 @@ test_add_keys(void)
g_assert(err == NULL);
- /* key2 came first, and should'nt be duplicated */
+ /* key2 came first, and shouldn't be duplicated */
test_authorized_keys_equal("algo key2 comments\n"
"algo key1 comments");
diff --git a/qga/commands-posix.c b/qga/commands-posix.c
index def857d773..6169bbf7a0 100644
--- a/qga/commands-posix.c
+++ b/qga/commands-posix.c
@@ -3250,5 +3250,5 @@ GuestUserList *qmp_guest_get_users(Error **errp)
#endif
-/* Replace escaped special characters with theire real values. The replacement
+/* Replace escaped special characters with their real values. The replacement
* is done in place -- returned value is in the original string.
*/
diff --git a/qga/commands-win32.c b/qga/commands-win32.c
index d23875264f..6beae659b7 100644
--- a/qga/commands-win32.c
+++ b/qga/commands-win32.c
@@ -488,5 +488,5 @@ static GuestDiskBusType win2qemu[] = {
[BusTypeFileBackedVirtual] = GUEST_DISK_BUS_TYPE_FILE_BACKED_VIRTUAL,
/*
- * BusTypeSpaces currently is not suported
+ * BusTypeSpaces currently is not supported
*/
[BusTypeSpaces] = GUEST_DISK_BUS_TYPE_UNKNOWN,
@@ -2260,5 +2260,5 @@ static char *ga_get_win_product_name(Error **errp)
}
if (err != ERROR_SUCCESS) {
- error_setg_win32(errp, err, "failed to retrive ProductName");
+ error_setg_win32(errp, err, "failed to retrieve ProductName");
goto fail;
}
diff --git a/qga/main.c b/qga/main.c
index 002161a0cc..8668b9f3d3 100644
--- a/qga/main.c
+++ b/qga/main.c
@@ -1334,5 +1334,5 @@ static bool check_is_frozen(GAState *s)
* marked as frozen. this could be a stale value (a non-qemu-ga process
* or reboot may have since unfrozen them), but better to require an
- * uneeded unfreeze than to risk hanging on start-up
+ * unneeded unfreeze than to risk hanging on start-up
*/
struct stat st;
diff --git a/qga/vss-win32/install.cpp b/qga/vss-win32/install.cpp
index ae38662a62..84944133f7 100644
--- a/qga/vss-win32/install.cpp
+++ b/qga/vss-win32/install.cpp
@@ -344,5 +344,5 @@ STDAPI COMRegister(void)
_bstr_t("")));
- /* Setup roles of the applicaion */
+ /* Setup roles of the application */
chk(getNameByStringSID(administratorsGroupSID, buffer, &bufferLen));
@@ -440,5 +440,5 @@ STDAPI DllRegisterServer(void)
}
- /* Add this module to registery */
+ /* Add this module to registry */
sprintf(key, "CLSID\\%s", g_szClsid);
--
2.39.2