From 23bc781063f98a2aa7038e26f4d385a0facf5621 Mon Sep 17 00:00:00 2001 From: Francesco Giudici Date: Thu, 11 May 2017 12:08:02 +0200 Subject: [PATCH] all/trivial: fix few comment typos --- libnm/nm-client.c | 2 +- src/nm-logging.h | 2 +- src/platform/nm-platform.c | 4 ++-- 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)