diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2004-07-08 15:11:38 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2004-07-08 15:11:38 +0000 |
commit | 2e419319d8d25e7a9e49ab80864588f9bb90255a (patch) | |
tree | 833fd6b1a0a5be8971f8d4905a1d6860258505de | |
parent | 7ba81315b7c5958d49c13c4cf0525e913eddeb6f (diff) |
we don't care about copyout's success. add a comment to appease sturm@
-rw-r--r-- | sys/compat/linux/linux_socket.c | 3 |
1 files changed, 2 insertions, 1 deletions
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)); } |