Module Name:    src
Committed By:   christos
Date:           Sun May 13 00:04:23 UTC 2018

Modified Files:
        src/sys/compat/netbsd32: netbsd32_socket.c

Log Message:
PR/53280: Andreas Gustafsson: Fix panic in the fdpass test. This is probably
the only 32 bit binary in the tests...


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/sys/compat/netbsd32/netbsd32_socket.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/netbsd32/netbsd32_socket.c
diff -u src/sys/compat/netbsd32/netbsd32_socket.c:1.46 src/sys/compat/netbsd32/netbsd32_socket.c:1.47
--- src/sys/compat/netbsd32/netbsd32_socket.c:1.46	Wed May  9 22:36:07 2018
+++ src/sys/compat/netbsd32/netbsd32_socket.c	Sat May 12 20:04:23 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: netbsd32_socket.c,v 1.46 2018/05/10 02:36:07 christos Exp $	*/
+/*	$NetBSD: netbsd32_socket.c,v 1.47 2018/05/13 00:04:23 christos Exp $	*/
 
 /*
  * Copyright (c) 1998, 2001 Matthew R. Green
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_socket.c,v 1.46 2018/05/10 02:36:07 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_socket.c,v 1.47 2018/05/13 00:04:23 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -501,6 +501,7 @@ msg_send_copyin(struct lwp *l, const str
 	if (error)
 		goto out;
 	msg->msg_iov = iov;
+	return 0;
 out:
 	if (msg->msg_control)
 		m_free(msg->msg_control);

Reply via email to