summaryrefslogtreecommitdiff
path: root/src/system.h
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-02-24 10:02:18 +0100
committerJim Meyering <meyering@redhat.com>2012-02-24 12:22:52 +0100
commit4624581d53709bc408d5d49e05c04f175bbb62b1 (patch)
tree2d345b387903b626a1fa81fa43e249808bcf83cf /src/system.h
parent69fed0dfecef60976e6144ea953493ec3efe517b (diff)
downloadcoreutils-4624581d53709bc408d5d49e05c04f175bbb62b1.tar.xz
doc: clarify a comment in system.h
* src/system.h (STRNCMP_LIT): Clarify comment. Suggested by Bruno Haible.
Diffstat (limited to 'src/system.h')
-rw-r--r--src/system.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/system.h b/src/system.h
index c4f262dbb..f312f88d0 100644
--- a/src/system.h
+++ b/src/system.h
@@ -186,7 +186,7 @@ select_plural (uintmax_t n)
#define STRPREFIX(a, b) (strncmp(a, b, strlen (b)) == 0)
/* Just like strncmp, but the second argument must be a literal string
- and you don't specify the length. */
+ and you don't specify the length; that comes from the literal. */
#define STRNCMP_LIT(s, literal) \
strncmp (s, "" literal "", sizeof (literal) - 1)