summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancesco Giudici <fgiudici@redhat.com>2017-05-11 12:08:02 +0200
committerFrancesco Giudici <fgiudici@redhat.com>2017-05-15 15:52:21 +0200
commit23bc781063f98a2aa7038e26f4d385a0facf5621 (patch)
treeedad8cf4a6ca66c2275812e1403e84cb16ee378c
parent234bc0adcfeb97f6f293c1f862c68bf7263a219d (diff)
downloadNetworkManager-23bc781063f98a2aa7038e26f4d385a0facf5621.tar.gz
all/trivial: fix few comment typos
-rw-r--r--libnm/nm-client.c2
-rw-r--r--src/nm-logging.h2
-rw-r--r--src/platform/nm-platform.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/libnm/nm-client.c b/libnm/nm-client.c
index 47f1548e24..53d52f6151 100644
--- a/libnm/nm-client.c
+++ b/libnm/nm-client.c
@@ -1006,7 +1006,7 @@ activate_cb (GObject *object,
* picks the best available connection for the device and activates it.
*
* Note that the callback is invoked when NetworkManager has started activating
- * the new connection, not when it finishes. You can used the returned
+ * the new connection, not when it finishes. You can use the returned
* #NMActiveConnection object (in particular, #NMActiveConnection:state) to
* track the activation to its completion.
**/
diff --git a/src/nm-logging.h b/src/nm-logging.h
index ff1fac7992..b4576461f2 100644
--- a/src/nm-logging.h
+++ b/src/nm-logging.h
@@ -269,7 +269,7 @@ gboolean nm_logging_syslog_enabled (void);
/*****************************************************************************/
/* Some implementation define a second set of logging macros, for a separate
- * use. As with the _LOGD() macro familiy above, the exact implementation
+ * use. As with the _LOGD() macro family above, the exact implementation
* depends on the file that uses them.
* Still, it encourages a common pattern to have the common set of macros
* like _LOG2D(), _LOG2I(), etc. and have _LOG2t() which by default
diff --git a/src/platform/nm-platform.c b/src/platform/nm-platform.c
index 767187d96b..e9a1d75b5e 100644
--- a/src/platform/nm-platform.c
+++ b/src/platform/nm-platform.c
@@ -573,7 +573,7 @@ nm_platform_link_get_all (NMPlatform *self)
* Returns: %NULL, if such a link exists or the internal
* platform link object. Do not modify the returned value.
* Also, be aware that any subsequent platform call might
- * invalidated/modify the returned instance.
+ * invalidate/modify the returned instance.
**/
const NMPlatformLink *
nm_platform_link_get (NMPlatform *self, int ifindex)
@@ -1461,7 +1461,7 @@ nm_platform_link_release (NMPlatform *self, int master, int slave)
* @self: platform instance
* @slave: Interface index of the slave.
*
- * Returns: Interfase index of the slave's master.
+ * Returns: Interface index of the slave's master.
*/
int
nm_platform_link_get_master (NMPlatform *self, int slave)