summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2020-04-09 20:38:36 +0000
committerKyle Evans <kevans@FreeBSD.org>2020-04-09 20:38:36 +0000
commite9ba4c1e146d1ebf889b73a78878807c8bc3f0cb (patch)
tree861b02de198ebb59ee5ee29896ec1f6f498d738d /libexec
parent7e28c8d4a2f50eb04cbadfac7c50ba3317e9b7da (diff)
downloadsrc-test2-e9ba4c1e146d1ebf889b73a78878807c8bc3f0cb.tar.gz
src-test2-e9ba4c1e146d1ebf889b73a78878807c8bc3f0cb.zip
Notes
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ypxfr/ypxfr_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ypxfr/ypxfr_main.c b/libexec/ypxfr/ypxfr_main.c
index 03ebbe12fcaf..40cc452874e6 100644
--- a/libexec/ypxfr/ypxfr_main.c
+++ b/libexec/ypxfr/ypxfr_main.c
@@ -51,6 +51,8 @@ __FBSDID("$FreeBSD$");
#include <rpcsvc/ypxfrd.h>
#include "ypxfr_extern.h"
+int debug = 1;
+
char *progname = "ypxfr";
char *yp_dir = _PATH_YP;
int _rpcpmstart = 0;
@@ -174,8 +176,6 @@ main(int argc, char *argv[])
int interdom = 0;
int secure = 0;
- debug = 1;
-
if (!isatty(fileno(stderr))) {
openlog("ypxfr", LOG_PID, LOG_DAEMON);
_rpcpmstart = 1;