diff options
-rw-r--r-- | usr.bin/ar/ar.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ar/ar.c b/usr.bin/ar/ar.c index 2399f9f..2eed151 100644 --- a/usr.bin/ar/ar.c +++ b/usr.bin/ar/ar.c @@ -108,7 +108,8 @@ main(int argc, char **argv) if ((bsdar->progname = getprogname()) == NULL) bsdar->progname = "ar"; - if (strcmp(bsdar->progname, "ranlib") == 0) { + if (strcmp(bsdar->progname, "ranlib") == 0 || + strcmp(bsdar->progname, "bsdranlib") == 0) { while ((opt = getopt_long(argc, argv, "tV", longopts, NULL)) != -1) { switch(opt) { |