Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/netbsd32 PR/53280: Andreas Gustafsso...



details:   https://anonhg.NetBSD.org/src/rev/9c240ffb9f45
branches:  trunk
changeset: 319007:9c240ffb9f45
user:      christos <christos%NetBSD.org@localhost>
date:      Sun May 13 00:04:23 2018 +0000
description:
PR/53280: Andreas Gustafsson: Fix panic in the fdpass test. This is probably
the only 32 bit binary in the tests...

diffstat:

 sys/compat/netbsd32/netbsd32_socket.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 2ae22eb73590 -r 9c240ffb9f45 sys/compat/netbsd32/netbsd32_socket.c
--- a/sys/compat/netbsd32/netbsd32_socket.c     Sat May 12 23:51:06 2018 +0000
+++ b/sys/compat/netbsd32/netbsd32_socket.c     Sun May 13 00:04:23 2018 +0000
@@ -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 @@
        if (error)
                goto out;
        msg->msg_iov = iov;
+       return 0;
 out:
        if (msg->msg_control)
                m_free(msg->msg_control);



Home | Main Index | Thread Index | Old Index