summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/asr/bin/res_mkquery.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regress/lib/libc/asr/bin/res_mkquery.c')
-rw-r--r--src/regress/lib/libc/asr/bin/res_mkquery.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/regress/lib/libc/asr/bin/res_mkquery.c b/src/regress/lib/libc/asr/bin/res_mkquery.c
index a52023c5c0..b32f471cdf 100644
--- a/src/regress/lib/libc/asr/bin/res_mkquery.c
+++ b/src/regress/lib/libc/asr/bin/res_mkquery.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: res_mkquery.c,v 1.1.1.1 2012/07/13 17:49:53 eric Exp $ */ 1/* $OpenBSD: res_mkquery.c,v 1.2 2018/12/15 15:16:12 eric Exp $ */
2/* 2/*
3 * Copyright (c) 2012 Eric Faurot <eric@openbsd.org> 3 * Copyright (c) 2012 Eric Faurot <eric@openbsd.org>
4 * 4 *
@@ -59,8 +59,11 @@ main(int argc, char *argv[])
59 uint16_t type = T_A; 59 uint16_t type = T_A;
60 char buf[1024], *host; 60 char buf[1024], *host;
61 61
62 while((ch = getopt(argc, argv, "et:")) != -1) { 62 while((ch = getopt(argc, argv, "R:et:")) != -1) {
63 switch(ch) { 63 switch(ch) {
64 case 'R':
65 parseresopt(optarg);
66 break;
64 case 'e': 67 case 'e':
65 long_err += 1; 68 long_err += 1;
66 break; 69 break;