Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/pgoyette-compat]: src/sys/arch/mips/mips Don't fall off the end of a non...
details: https://anonhg.NetBSD.org/src/rev/0c5bb14309eb
branches: pgoyette-compat
changeset: 830830:0c5bb14309eb
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Sat Sep 29 07:47:46 2018 +0000
description:
Don't fall off the end of a non-void function. (It used to be void,
but now returns an int to conform with requirements of the MP-safe
module_hook stuff.)
diffstat:
sys/arch/mips/mips/netbsd32_machdep_16.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 10d0f2411b80 -r 0c5bb14309eb sys/arch/mips/mips/netbsd32_machdep_16.c
--- a/sys/arch/mips/mips/netbsd32_machdep_16.c Sat Sep 29 07:36:44 2018 +0000
+++ b/sys/arch/mips/mips/netbsd32_machdep_16.c Sat Sep 29 07:47:46 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_machdep_16.c,v 1.1.2.3 2018/09/29 07:36:44 pgoyette Exp $ */
+/* $NetBSD: netbsd32_machdep_16.c,v 1.1.2.4 2018/09/29 07:47:46 pgoyette Exp $ */
/*-
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep_16.c,v 1.1.2.3 2018/09/29 07:36:44 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep_16.c,v 1.1.2.4 2018/09/29 07:47:46 pgoyette Exp $");
#include "opt_compat_netbsd.h"
#include "opt_coredump.h"
@@ -175,6 +175,8 @@
netbsd32_sendsig_sigcontext(ksi, mask);
else
netbsd32_sendsig_siginfo(ksi, mask);
+
+ return 0;
}
MODULE_SET_HOOK(netbsd32_sendsig_hook, "nb32_16", netbsd32_sendsig_16);
Home |
Main Index |
Thread Index |
Old Index