diff options
Diffstat (limited to 'binutils/ar.c')
-rw-r--r-- | binutils/ar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/ar.c b/binutils/ar.c index 2431448..9675caf 100644 --- a/binutils/ar.c +++ b/binutils/ar.c @@ -430,7 +430,7 @@ main (int argc, char **argv) usage (0); if (strcmp (argv[1], "-V") == 0 || strcmp (argv[1], "-v") == 0 - || strncmp (argv[1], "--v", 3) == 0) + || CONST_STRNEQ (argv[1], "--v")) print_version ("ranlib"); arg_index = 1; if (strcmp (argv[1], "-t") == 0) |