Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/rpc use correct type for poll
details: https://anonhg.NetBSD.org/src/rev/234991151666
branches: trunk
changeset: 350347:234991151666
user: christos <christos%NetBSD.org@localhost>
date: Tue Jan 10 17:45:27 2017 +0000
description:
use correct type for poll
diffstat:
lib/libc/rpc/svc_run.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 02e63ea5c5ec -r 234991151666 lib/libc/rpc/svc_run.c
--- a/lib/libc/rpc/svc_run.c Tue Jan 10 17:45:12 2017 +0000
+++ b/lib/libc/rpc/svc_run.c Tue Jan 10 17:45:27 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: svc_run.c,v 1.27 2015/11/10 20:56:20 christos Exp $ */
+/* $NetBSD: svc_run.c,v 1.28 2017/01/10 17:45:27 christos Exp $ */
/*
* Copyright (c) 2010, Oracle America, Inc.
@@ -37,7 +37,7 @@
static char *sccsid = "@(#)svc_run.c 1.1 87/10/13 Copyr 1984 Sun Micro";
static char *sccsid = "@(#)svc_run.c 2.1 88/07/29 4.0 RPCSRC";
#else
-__RCSID("$NetBSD: svc_run.c,v 1.27 2015/11/10 20:56:20 christos Exp $");
+__RCSID("$NetBSD: svc_run.c,v 1.28 2017/01/10 17:45:27 christos Exp $");
#endif
#endif
@@ -169,7 +169,7 @@
rwlock_unlock(&svc_fd_lock);
- switch ((i = poll(pfd, (size_t)*maxfd, 30 * 1000))) {
+ switch ((i = poll(pfd, (nfds_t)*maxfd, 30 * 1000))) {
case -1:
#ifndef RUMP_RPC
if ((errno == EINTR || errno == EBADF) && probs < 100) {
Home |
Main Index |
Thread Index |
Old Index