summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2020-04-10 10:54:46 +0200
committerThomas Haller <thaller@redhat.com>2020-04-10 10:55:22 +0200
commitf3ca61e6e45097e5fc5b9f207cb3694699586eb9 (patch)
tree2fe43a63867b8dc4c6c6fb97bb7367d754d9b53f
parent5f668ee3893a9f089f3ae6ec6ba0638c85a884e6 (diff)
downloadNetworkManager-f3ca61e6e45097e5fc5b9f207cb3694699586eb9.tar.gz
shared/trivial: fix typo in code comment and reword
-rw-r--r--shared/nm-glib-aux/nm-shared-utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/nm-glib-aux/nm-shared-utils.h b/shared/nm-glib-aux/nm-shared-utils.h
index 8f65f5806f..537b402b1c 100644
--- a/shared/nm-glib-aux/nm-shared-utils.h
+++ b/shared/nm-glib-aux/nm-shared-utils.h
@@ -1850,8 +1850,8 @@ nm_utils_strdup_reset (char **dst, const char *src)
* buffer size only from 100 to 104.
* If you however start with an initial buffer size of 104, then the next reallocation
* via nm_utils_get_next_realloc_size() gives you 232, and so on. By using
- * these sizes, it results in fewer reallocations, if you anyway don't now the exact
- * size in advance. */
+ * these sizes, it results in one less allocation, if you anyway don't know the
+ * exact size in advance. */
#define NM_UTILS_GET_NEXT_REALLOC_SIZE_104 ((gsize) 104)
#define NM_UTILS_GET_NEXT_REALLOC_SIZE_1000 ((gsize) 1000)