[PATCH] src: fix word spell typos

Ján Tomko jtomko at redhat.com
Thu Jul 9 08:02:40 UTC 2020


On a Thursday in 2020, Fangge Jin wrote:
>Signed-off-by: Fangge Jin <fjin at redhat.com>
>---
> src/bhyve/libvirtd_bhyve.aug           | 2 +-
> src/cpu/cpu_arm.c                      | 4 ++--
> src/esx/esx_vi.c                       | 2 +-
> src/interface/interface_backend_udev.c | 4 ++--
> src/internal.h                         | 2 +-
> src/libvirt-domain.c                   | 2 +-
> src/libvirt-nodedev.c                  | 2 +-
> src/libxl/libxl_conf.c                 | 2 +-
> src/libxl/libxl_driver.c               | 2 +-
> src/libxl/libxl_logger.c               | 2 +-
> src/locking/libvirt_lockd.aug          | 2 +-
> src/locking/libvirt_sanlock.aug        | 2 +-
> src/locking/virtlockd.aug              | 2 +-
> src/logging/virtlogd.aug               | 2 +-
> src/lxc/libvirtd_lxc.aug               | 2 +-
> src/lxc/lxc_native.c                   | 2 +-
> src/lxc/lxc_process.c                  | 2 +-
> src/node_device/node_device_udev.c     | 2 +-
> src/qemu/qemu_agent.c                  | 2 +-
> src/qemu/qemu_blockjob.c               | 2 +-
> src/qemu/qemu_capabilities.c           | 4 ++--
> src/qemu/qemu_command.c                | 4 ++--
> src/qemu/qemu_conf.c                   | 2 +-
> src/qemu/qemu_domain.c                 | 8 ++++----
> src/qemu/qemu_domain_address.c         | 2 +-
> src/qemu/qemu_driver.c                 | 4 ++--
> src/qemu/qemu_hotplug.c                | 2 +-
> src/qemu/qemu_migration.c              | 2 +-
> src/qemu/qemu_monitor.c                | 2 +-
> src/qemu/qemu_qapi.c                   | 4 ++--
> src/qemu/qemu_security.c               | 2 +-
> src/remote/libvirtd.aug.in             | 2 +-
> src/remote/remote_daemon_dispatch.c    | 2 +-
> src/rpc/virnetlibsshsession.c          | 4 ++--
> src/rpc/virnetserverprogram.c          | 2 +-
> src/rpc/virnetsshsession.c             | 4 ++--
> src/storage/storage_util.c             | 4 ++--
> src/util/virbuffer.h                   | 2 +-
> src/util/vircommand.c                  | 2 +-
> src/util/virdnsmasq.c                  | 2 +-
> src/util/virhostcpu.c                  | 2 +-
> src/util/virnetdev.c                   | 2 +-
> src/util/virnetdevopenvswitch.c        | 4 ++--
> src/util/virnetdevtap.c                | 2 +-
> src/util/virqemu.c                     | 2 +-
> src/util/virresctrl.c                  | 2 +-
> src/util/virsysinfo.c                  | 2 +-
> src/util/virsystemd.c                  | 2 +-
> src/util/virtpm.c                      | 2 +-
> src/vbox/vbox_common.h                 | 2 +-
> src/vbox/vbox_network.c                | 4 ++--
> src/vbox/vbox_snapshot_conf.c          | 4 ++--
> src/vbox/vbox_tmpl.c                   | 2 +-
> src/vmx/vmx.c                          | 2 +-
> src/vz/vz_driver.c                     | 2 +-
> src/vz/vz_sdk.c                        | 4 ++--
> 56 files changed, 72 insertions(+), 72 deletions(-)
>
>diff --git a/src/bhyve/libvirtd_bhyve.aug b/src/bhyve/libvirtd_bhyve.aug
>index 66079376c4..b6bee261a6 100644
>--- a/src/bhyve/libvirtd_bhyve.aug
>+++ b/src/bhyve/libvirtd_bhyve.aug
>@@ -24,7 +24,7 @@ module Libvirtd_bhyve =
>
>    let log_entry = str_entry "firmware_dir"
>
>-   (* Each enty in the config is one of the following three ... *)
>+   (* Each entry in the config is one of the following three ... *)

I can't believe we copied this typo so many times.

>    let entry = log_entry
>    let comment = [ label "#comment" . del /#[ \t]*/ "# " .  store /([^ \t\n][^\n]*)?/ . del /\n/ "\n" ]
>    let empty = [ label "#empty" . eol ]
>diff --git a/src/libxl/libxl_logger.c b/src/libxl/libxl_logger.c
>index 379d7a8d00..58b6e7bfa1 100644
>--- a/src/libxl/libxl_logger.c
>+++ b/src/libxl/libxl_logger.c
>@@ -119,7 +119,7 @@ libvirt_progress(xentoollog_logger *logger_in G_GNUC_UNUSED,
>                  unsigned long done G_GNUC_UNUSED,
>                  unsigned long total G_GNUC_UNUSED)
> {
>-    /* This function purposedly does nothing: it's no logging info */
>+    /* This function purposely does nothing: it's no logging info */

purposedly is a valid word, I'm dropping this hunk before pushing.

> }
>
> static void
>diff --git a/src/rpc/virnetsshsession.c b/src/rpc/virnetsshsession.c
>index b4dea15452..752c3fc915 100644
>--- a/src/rpc/virnetsshsession.c
>+++ b/src/rpc/virnetsshsession.c
>@@ -681,7 +681,7 @@ virNetSSHAuthenticatePassword(virNetSSHSessionPtr sess,
>     VIR_DEBUG("sess=%p", sess);
>
>     if (priv->password) {
>-        /* tunelled password authentication */
>+        /* tunnelled password authentication */

I would not really call this wrong - it's just US vs UK spelling.
But since our API flag uses TUNNELLED, I'll leave these in.

>         if ((rc = libssh2_userauth_password(sess->session,
>                                             priv->username,
>                                             priv->password)) == 0) {

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200709/e20b0847/attachment-0001.sig>


More information about the libvir-list mailing list