summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2022-09-27 09:45:35 +0200
committerThomas Haller <thaller@redhat.com>2022-09-28 13:30:45 +0200
commitefcc03075218fe9f8ee14067b670a43f74363328 (patch)
treece178ede680cad41169b85788b9bc1bb13a971b0
parentf786b054799c6bf8cd349f0780e9775e50ad4690 (diff)
std-aux/trivial: fix typo in code comment
-rw-r--r--src/libnm-std-aux/nm-std-aux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libnm-std-aux/nm-std-aux.h b/src/libnm-std-aux/nm-std-aux.h
index 95724252cb..eb16524b88 100644
--- a/src/libnm-std-aux/nm-std-aux.h
+++ b/src/libnm-std-aux/nm-std-aux.h
@@ -507,7 +507,7 @@ nm_memeq(const void *s1, const void *s2, size_t len)
/*
* Very similar to g_str_has_prefix() with the obvious meaning.
* Differences:
- * 1) suffix is enforced to be a C string literal
+ * 1) prefix is enforced to be a C string literal
* (it is thus more restricted, but you'll know it at compile time).
* 2) it accepts str==NULL
* (it is thus more forgiving than g_str_has_prefix())