diff options
Diffstat (limited to 'src/system.h')
-rw-r--r-- | src/system.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/system.h b/src/system.h index 107dbd5a6..ec64cd0d8 100644 --- a/src/system.h +++ b/src/system.h @@ -188,7 +188,7 @@ select_plural (uintmax_t n) #define STREQ_LEN(a, b, n) (strncmp (a, b, n) == 0) #define STRPREFIX(a, b) (strncmp(a, b, strlen (b)) == 0) -/* Just like strncmp, but the first argument must be a literal string +/* Just like strncmp, but the second argument must be a literal string and you don't specify the length. */ #define STRNCMP_LIT(s, literal) \ strncmp (s, "" literal "", sizeof (literal) - 1) |