summaryrefslogtreecommitdiff
path: root/libnm-core/nm-keyfile.c
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-core/nm-keyfile.c
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-core/nm-keyfile.c')
-rw-r--r--libnm-core/nm-keyfile.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libnm-core/nm-keyfile.c b/libnm-core/nm-keyfile.c
index c7d878691b..be37d2a8e3 100644
--- a/libnm-core/nm-keyfile.c
+++ b/libnm-core/nm-keyfile.c
@@ -372,7 +372,7 @@ read_field (char **current, const char **out_err_str, const char *characters, co
* address/plen,gateway,metric (NETWORK via GATEWAY dev DEVICE metric METRIC)
*
* For backward, forward and sideward compatibility, slash (/),
- * semicolon (;) and comma (,) are interchangable. The choice of
+ * semicolon (;) and comma (,) are interchangeable. The choice of
* separator in the above examples is therefore not significant.
*
* Leaving out the prefix length is discouraged and DEPRECATED. The
@@ -2544,7 +2544,7 @@ read_one_setting_value (NMSetting *setting,
*/
if ( (!pip || !pip->parser_no_check_key)
&& !nm_keyfile_plugin_kf_has_key (keyfile, setting_name, key, &err)) {
- /* Key doesn't exist or an error ocurred, thus nothing to do. */
+ /* Key doesn't exist or an error occurred, thus nothing to do. */
if (err) {
if (!handle_warn (info, key, NM_KEYFILE_WARN_SEVERITY_WARN,
_("error loading setting value: %s"),
@@ -2902,7 +2902,7 @@ nm_keyfile_read (GKeyFile *keyfile,
nm_connection_add_setting (connection, NM_SETTING (s_con));
}
- /* Make sure that we have 'id' even if not explictly specified in the keyfile */
+ /* Make sure that we have 'id' even if not explicitly specified in the keyfile */
if ( keyfile_name
&& !nm_setting_connection_get_id (s_con)) {
gs_free char *base_name = NULL;
@@ -2911,7 +2911,7 @@ nm_keyfile_read (GKeyFile *keyfile,
g_object_set (s_con, NM_SETTING_CONNECTION_ID, base_name, NULL);
}
- /* Make sure that we have 'uuid' even if not explictly specified in the keyfile */
+ /* Make sure that we have 'uuid' even if not explicitly specified in the keyfile */
if ( keyfile_name
&& !nm_setting_connection_get_uuid (s_con)) {
gs_free char *hashed_uuid = NULL;