summaryrefslogtreecommitdiff
path: root/usr.bin/tcpbench/tcpbench.c
diff options
context:
space:
mode:
authorChristiano F. Haesbaert <haesbaert@cvs.openbsd.org>2012-01-31 16:15:47 +0000
committerChristiano F. Haesbaert <haesbaert@cvs.openbsd.org>2012-01-31 16:15:47 +0000
commit916a6ebe5a74ef42c47d32ecf56b92f539aa7b31 (patch)
treebc7ac90ab3e1d491cffca014cd7e41375c597745 /usr.bin/tcpbench/tcpbench.c
parent4019e6a02e719c25b40cee45c8b2c08f1af816e3 (diff)
Remove setpgid() call, this is a leftover from when we were forked.
From Erik Lax "commit it" mikeb@
Diffstat (limited to 'usr.bin/tcpbench/tcpbench.c')
-rw-r--r--usr.bin/tcpbench/tcpbench.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/usr.bin/tcpbench/tcpbench.c b/usr.bin/tcpbench/tcpbench.c
index 1e1d5fa2bce..b0b2930f05f 100644
--- a/usr.bin/tcpbench/tcpbench.c
+++ b/usr.bin/tcpbench/tcpbench.c
@@ -717,9 +717,6 @@ server_init(struct addrinfo *aitop, struct statctx *udp_sc)
struct event *ev;
nfds_t lnfds;
- if (setpgid(0, 0) == -1)
- err(1, "setpgid");
-
lnfds = 0;
for (ai = aitop; ai != NULL; ai = ai->ai_next) {
saddr_ntop(ai->ai_addr, ai->ai_addrlen, tmp, sizeof(tmp));