diff options
author | 2016-02-24 16:34:47 +0000 | |
---|---|---|
committer | 2016-02-24 16:34:47 +0000 | |
commit | a278458b2cda02109417c933e7735e3b5d5f5c76 (patch) | |
tree | 1fa9165844d0207cbdb777f79f424138765f8803 /usr.sbin/tftp-proxy/tftp-proxy.c | |
parent | sanitize environment thru a whitelist. Only pass what's relevant for ftp and (diff) | |
download | wireguard-openbsd-a278458b2cda02109417c933e7735e3b5d5f5c76.tar.xz wireguard-openbsd-a278458b2cda02109417c933e7735e3b5d5f5c76.zip |
satisfy whiny compiler on m88k, noticed by aoyama, solution from gsoares
Diffstat (limited to 'usr.sbin/tftp-proxy/tftp-proxy.c')
-rw-r--r-- | usr.sbin/tftp-proxy/tftp-proxy.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/tftp-proxy/tftp-proxy.c b/usr.sbin/tftp-proxy/tftp-proxy.c index 7bfc36572c3..262fe0f37b4 100644 --- a/usr.sbin/tftp-proxy/tftp-proxy.c +++ b/usr.sbin/tftp-proxy/tftp-proxy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tftp-proxy.c,v 1.17 2016/02/12 12:24:27 jca Exp $ +/* $OpenBSD: tftp-proxy.c,v 1.18 2016/02/24 16:34:47 deraadt Exp $ * * Copyright (c) 2005 DLS Internet Services * Copyright (c) 2004, 2005 Camiel Dobbelaar, <cd@sentia.nl> @@ -355,7 +355,6 @@ source_addresses(const char* name, int family) void proxy_privproc(int s, struct passwd *pw) { - extern char *__progname; struct privproc p; if (chroot(CHROOT_DIR) == -1) |