Skip to content

Commit

Permalink
qga/: spelling fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Eric Blake <eblake@redhat.com>
  • Loading branch information
Michael Tokarev committed Sep 8, 2023
1 parent 96420a3 commit 01dc065
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion qga/channel-posix.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ static gboolean ga_channel_open(GAChannel *c, const gchar *path,
#ifdef __FreeBSD__
/*
* 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.
*/
struct termios tio;
Expand Down
2 changes: 1 addition & 1 deletion qga/commands-posix-ssh.c
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ test_add_keys(void)
&err);
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");
}
Expand Down
2 changes: 1 addition & 1 deletion qga/commands-posix.c
Original file line number Diff line number Diff line change
Expand Up @@ -3249,7 +3249,7 @@ 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.
*/
static void ga_osrelease_replace_special(gchar *value)
Expand Down
4 changes: 2 additions & 2 deletions qga/commands-win32.c
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ static GuestDiskBusType win2qemu[] = {
[BusTypeVirtual] = GUEST_DISK_BUS_TYPE_VIRTUAL,
[BusTypeFileBackedVirtual] = GUEST_DISK_BUS_TYPE_FILE_BACKED_VIRTUAL,
/*
* BusTypeSpaces currently is not suported
* BusTypeSpaces currently is not supported
*/
[BusTypeSpaces] = GUEST_DISK_BUS_TYPE_UNKNOWN,
[BusTypeNvme] = GUEST_DISK_BUS_TYPE_NVME,
Expand Down Expand Up @@ -2259,7 +2259,7 @@ 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;
}

Expand Down
2 changes: 1 addition & 1 deletion qga/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1333,7 +1333,7 @@ static bool check_is_frozen(GAState *s)
/* check if a previous instance of qemu-ga exited with filesystems' state
* 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;
if (stat(s->state_filepath_isfrozen, &st) == -1) {
Expand Down
4 changes: 2 additions & 2 deletions qga/vss-win32/install.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ STDAPI COMRegister(void)
_bstr_t(dllPath), _bstr_t(tlbPath),
_bstr_t("")));

/* Setup roles of the applicaion */
/* Setup roles of the application */

chk(getNameByStringSID(administratorsGroupSID, buffer, &bufferLen));
chk(pApps->GetCollection(_bstr_t(L"Roles"), key,
Expand Down Expand Up @@ -439,7 +439,7 @@ STDAPI DllRegisterServer(void)
goto out;
}

/* Add this module to registery */
/* Add this module to registry */

sprintf(key, "CLSID\\%s", g_szClsid);
if (!CreateRegistryKey(key, NULL, g_szClsid)) {
Expand Down

0 comments on commit 01dc065

Please sign in to comment.