From d38a60a2a36eaa05b2a4dfe861388f40968e206e Mon Sep 17 00:00:00 2001 From: tedu Date: Thu, 8 Jul 2004 15:11:37 +0000 Subject: we don't care about copyout's success. add a comment to appease sturm@ --- sys/compat/linux/linux_socket.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/compat/linux/linux_socket.c') diff --git a/sys/compat/linux/linux_socket.c b/sys/compat/linux/linux_socket.c index bceffab5d99..c885d9e2675 100644 --- a/sys/compat/linux/linux_socket.c +++ b/sys/compat/linux/linux_socket.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_socket.c,v 1.31 2003/11/25 21:43:42 nordin Exp $ */ +/* $OpenBSD: linux_socket.c,v 1.32 2004/07/08 15:11:37 tedu Exp $ */ /* $NetBSD: linux_socket.c,v 1.14 1996/04/05 00:01:50 christos Exp $ */ /* @@ -1105,6 +1105,7 @@ done: /* replace level, just in case somebody cares. */ if (level == SOL_SOCKET) { level = 1; + /* don't worry about the error */ copyout(&level, &((struct cmsghdr *)control)->cmsg_level, sizeof(int)); } -- cgit v1.2.3-59-g8ed1b