summaryrefslogtreecommitdiff
path: root/lib/libc/rpc
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2014-11-05 21:06:52 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2014-11-05 21:06:52 +0000
commitc3167b81c0130f1d9368dd541be1b133fe0b805b (patch)
tree2df9a4d643f05d169bf05e0b96da939174e0ff59 /lib/libc/rpc
parentd9727264bacd7ee8bf9f4dc3aae7beb0be962f5a (diff)
missing pfd = newp, diagnosed by deraadt@
Diffstat (limited to 'lib/libc/rpc')
-rw-r--r--lib/libc/rpc/svc_run.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/rpc/svc_run.c b/lib/libc/rpc/svc_run.c
index 2be4f25745d..25664938105 100644
--- a/lib/libc/rpc/svc_run.c
+++ b/lib/libc/rpc/svc_run.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: svc_run.c,v 1.23 2014/11/04 17:17:05 millert Exp $ */
+/* $OpenBSD: svc_run.c,v 1.24 2014/11/05 21:06:51 sthen Exp $ */
/*
* Copyright (c) 2010, Oracle America, Inc.
@@ -57,6 +57,7 @@ svc_run(void)
return; /* XXX */
}
saved_max_pollfd = svc_max_pollfd;
+ pfd = newp;
}
memcpy(pfd, svc_pollfd, sizeof(*pfd) * svc_max_pollfd);