summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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);