Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/rpc CID 975112: Ignore bindresvport() return. This ...
details: https://anonhg.NetBSD.org/src/rev/1a97e96474a8
branches: trunk
changeset: 329542:1a97e96474a8
user: christos <christos%NetBSD.org@localhost>
date: Wed May 28 14:41:47 2014 +0000
description:
CID 975112: Ignore bindresvport() return. This is can only succeed for root
diffstat:
lib/libc/rpc/clnt_generic.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r c552711a5ead -r 1a97e96474a8 lib/libc/rpc/clnt_generic.c
--- a/lib/libc/rpc/clnt_generic.c Wed May 28 14:39:02 2014 +0000
+++ b/lib/libc/rpc/clnt_generic.c Wed May 28 14:41:47 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: clnt_generic.c,v 1.31 2013/05/07 21:08:45 christos Exp $ */
+/* $NetBSD: clnt_generic.c,v 1.32 2014/05/28 14:41:47 christos Exp $ */
/*
* Copyright (c) 2010, Oracle America, Inc.
@@ -41,7 +41,7 @@
#if 0
static char sccsid[] = "@(#)clnt_generic.c 1.32 89/03/16 Copyr 1988 Sun Micro";
#else
-__RCSID("$NetBSD: clnt_generic.c,v 1.31 2013/05/07 21:08:45 christos Exp $");
+__RCSID("$NetBSD: clnt_generic.c,v 1.32 2014/05/28 14:41:47 christos Exp $");
#endif
#endif
@@ -321,7 +321,7 @@
if (!__rpc_fd2sockinfo(fd, &si))
goto err;
- bindresvport(fd, NULL);
+ (void)bindresvport(fd, NULL);
} else {
if (!__rpc_fd2sockinfo(fd, &si))
goto err;
Home |
Main Index |
Thread Index |
Old Index