summaryrefslogtreecommitdiff
path: root/libnm
diff options
context:
space:
mode:
authorluz.paz <luzpaz@users.noreply.github.com>2018-09-15 07:20:54 -0400
committerThomas Haller <thaller@redhat.com>2018-09-17 11:26:13 +0200
commit58510ed5667974e772344c1a893be9deecb1b4cc (patch)
tree66f521404a44570bd0deaa694d3403050bcc0b36 /libnm
parentf985b6944a1147281e34721c96db1a41baca65b3 (diff)
downloadNetworkManager-58510ed5667974e772344c1a893be9deecb1b4cc.tar.gz
docs: misc. typos pt2
Remainder of typos found using `codespell -q 3 --skip="./shared,./src/systemd,*.po" -I ../NetworkManager-word-whitelist.txt` whereby whitelist consists of: ``` ans busses cace cna conexant crasher iff liftime creat nd sav technik uint ``` https://github.com/NetworkManager/NetworkManager/pull/205
Diffstat (limited to 'libnm')
-rwxr-xr-xlibnm/generate-plugin-docs.pl2
-rw-r--r--libnm/nm-client.c2
-rw-r--r--libnm/nm-dbus-helpers.c2
-rw-r--r--libnm/nm-device-vxlan.c2
-rw-r--r--libnm/nm-device-wifi.c4
-rw-r--r--libnm/nm-device.c2
-rw-r--r--libnm/nm-libnm-utils.c2
-rw-r--r--libnm/nm-object.c2
-rw-r--r--libnm/nm-object.h2
-rw-r--r--libnm/nm-vpn-service-plugin.c2
10 files changed, 11 insertions, 11 deletions
diff --git a/libnm/generate-plugin-docs.pl b/libnm/generate-plugin-docs.pl
index e4963b7c50..74e2126c67 100755
--- a/libnm/generate-plugin-docs.pl
+++ b/libnm/generate-plugin-docs.pl
@@ -60,7 +60,7 @@ open $fo, '>', $output or die "Can't open $output: $!";
# write XML header
write_header();
-# write generated documenation for each setting
+# write generated documentation for each setting
foreach my $c_file (@source_files) {
my $setting_name = get_setting_name($c_file);
if ($setting_name) {
diff --git a/libnm/nm-client.c b/libnm/nm-client.c
index 96db30c756..d6187536e0 100644
--- a/libnm/nm-client.c
+++ b/libnm/nm-client.c
@@ -2470,7 +2470,7 @@ proxy_type (GDBusObjectManagerClient *manager,
const char *interface_name,
gpointer user_data)
{
- /* ObjectManager asks us for an object proxy. Unfortunatelly, we can't
+ /* ObjectManager asks us for an object proxy. Unfortunately, we can't
* decide that by interface name and GDBusObjectManager doesn't allow
* us to look at the known interface list. Thus we need to create a
* generic GDBusObject and only couple a NMObject subclass later. */
diff --git a/libnm/nm-dbus-helpers.c b/libnm/nm-dbus-helpers.c
index 33c6819148..44eed0c83c 100644
--- a/libnm/nm-dbus-helpers.c
+++ b/libnm/nm-dbus-helpers.c
@@ -105,7 +105,7 @@ _nm_dbus_is_connection_private (GDBusConnection *connection)
* rule the proxy added and ensure a less granular rule is present instead.
*
* Also, don't do this immediately since it has a performance penalty.
- * Still better than loosing the signals altogether.
+ * Still better than losing the signals altogether.
*
* Ideally, we should be able to tell glib not to hook its rules:
* https://bugzilla.gnome.org/show_bug.cgi?id=758749
diff --git a/libnm/nm-device-vxlan.c b/libnm/nm-device-vxlan.c
index 27b9c981a1..9a87ad137a 100644
--- a/libnm/nm-device-vxlan.c
+++ b/libnm/nm-device-vxlan.c
@@ -361,7 +361,7 @@ nm_device_vxlan_get_l2miss (NMDeviceVxlan *device)
* nm_device_vxlan_get_l3miss:
* @device: a #NMDeviceVxlan
*
- * Returns: wether netlink IP ADDR miss notifications are generated
+ * Returns: whether netlink IP ADDR miss notifications are generated
*
* Since: 1.2
**/
diff --git a/libnm/nm-device-wifi.c b/libnm/nm-device-wifi.c
index 848e297cca..9fb1eebfba 100644
--- a/libnm/nm-device-wifi.c
+++ b/libnm/nm-device-wifi.c
@@ -370,7 +370,7 @@ nm_device_wifi_request_scan (NMDeviceWifi *device,
* after that for the scan to complete.
* This is the same as @nm_device_wifi_request_scan except it accepts @options
* for the scanning. The argument is the dictionary passed to RequestScan()
- * D-Bus call. Valid otions inside the dictionary are:
+ * D-Bus call. Valid options inside the dictionary are:
* 'ssids' => array of SSIDs (saay)
*
* Returns: %TRUE on success, %FALSE on error, in which case @error will be
@@ -487,7 +487,7 @@ nm_device_wifi_request_scan_async (NMDeviceWifi *device,
* that for the scan to complete.
* This is the same as @nm_device_wifi_request_scan_async except it accepts @options
* for the scanning. The argument is the dictionary passed to RequestScan()
- * D-Bus call. Valid otions inside the dictionary are:
+ * D-Bus call. Valid options inside the dictionary are:
* 'ssids' => array of SSIDs (saay)
*
* Since: 1.2
diff --git a/libnm/nm-device.c b/libnm/nm-device.c
index aa45c4ada0..2cab5cb401 100644
--- a/libnm/nm-device.c
+++ b/libnm/nm-device.c
@@ -2392,7 +2392,7 @@ device_delete_cb (GObject *proxy,
* @callback: callback to be called when delete operation completes
* @user_data: caller-specific data passed to @callback
*
- * Asynchronously begins deleteing the software device. Hardware devices can't
+ * Asynchronously begins deleting the software device. Hardware devices can't
* be deleted.
**/
void
diff --git a/libnm/nm-libnm-utils.c b/libnm/nm-libnm-utils.c
index 3621906597..f740c37caf 100644
--- a/libnm/nm-libnm-utils.c
+++ b/libnm/nm-libnm-utils.c
@@ -125,7 +125,7 @@ next:
}
if (square_brackets_sensible) {
/* If there's a [<string>] that survived the substitution, then the string
- * is a short form that is generally preferrable. */
+ * is a short form that is generally preferable. */
q = strchr (desc_full, ']');
if (p && q > p) {
p++;
diff --git a/libnm/nm-object.c b/libnm/nm-object.c
index 43bbba7f4c..4fcea8785a 100644
--- a/libnm/nm-object.c
+++ b/libnm/nm-object.c
@@ -612,7 +612,7 @@ handle_object_property (NMObject *self, const char *property_name, GVariant *val
*
* NOTE: We've ignored this before and the server hits the condition
* more often that it should. Given we're able to recover from
- * ther error, let's lower the severity of the log message to
+ * the error, let's lower the severity of the log message to
* avoid unnecessarily bothering the user. This can be removed
* once the issue is fixed on the server. */
#if NM_MORE_ASSERTS
diff --git a/libnm/nm-object.h b/libnm/nm-object.h
index 5b4580ebd7..1cc61a7314 100644
--- a/libnm/nm-object.h
+++ b/libnm/nm-object.h
@@ -57,7 +57,7 @@ typedef struct {
/* The "object-creation-failed" method is PRIVATE for libnm and
* is not meant for any external usage. It indicates that an error
- * occured during creation of an object.
+ * occurred during creation of an object.
*/
void (*object_creation_failed) (NMObject *master_object,
const char *failed_path);
diff --git a/libnm/nm-vpn-service-plugin.c b/libnm/nm-vpn-service-plugin.c
index 2213824edb..56f5dc6b7d 100644
--- a/libnm/nm-vpn-service-plugin.c
+++ b/libnm/nm-vpn-service-plugin.c
@@ -1325,7 +1325,7 @@ nm_vpn_service_plugin_initable_iface_init (GInitableIface *iface)
/*****************************************************************************/
/* this header is intended to be copied to users of nm_vpn_editor_plugin_call(),
- * to simplify invocation of generic functions. Include it here, to complile
+ * to simplify invocation of generic functions. Include it here, to compile
* the code. */
#include "nm-utils/nm-vpn-editor-plugin-call.h"