Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat Add missing newline character in error message
details: https://anonhg.NetBSD.org/src/rev/4643be4de02d
branches: trunk
changeset: 343858:4643be4de02d
user: khorben <khorben%NetBSD.org@localhost>
date: Sun Feb 28 23:24:35 2016 +0000
description:
Add missing newline character in error message
This is related to kern/50469.
diffstat:
sys/compat/netbsd32/netbsd32_netbsd.c | 6 +++---
sys/compat/sunos32/sunos32_misc.c | 6 +++---
sys/compat/svr4_32/svr4_32_misc.c | 8 ++++----
3 files changed, 10 insertions(+), 10 deletions(-)
diffs (90 lines):
diff -r 7db07d073968 -r 4643be4de02d sys/compat/netbsd32/netbsd32_netbsd.c
--- a/sys/compat/netbsd32/netbsd32_netbsd.c Sun Feb 28 23:12:23 2016 +0000
+++ b/sys/compat/netbsd32/netbsd32_netbsd.c Sun Feb 28 23:24:35 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_netbsd.c,v 1.198 2015/12/01 02:20:43 pgoyette Exp $ */
+/* $NetBSD: netbsd32_netbsd.c,v 1.199 2016/02/28 23:24:35 khorben Exp $ */
/*
* Copyright (c) 1998, 2001, 2008 Matthew R. Green
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_netbsd.c,v 1.198 2015/12/01 02:20:43 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_netbsd.c,v 1.199 2016/02/28 23:24:35 khorben Exp $");
#if defined(_KERNEL_OPT)
#include "opt_ddb.h"
@@ -1537,7 +1537,7 @@
#endif
error = sys_mmap(l, &ua, retval);
if ((u_long)*retval > (u_long)UINT_MAX) {
- printf("netbsd32_mmap: retval out of range: 0x%lx",
+ printf("netbsd32_mmap: retval out of range: 0x%lx\n",
(u_long)*retval);
/* Should try to recover and return an error here. */
}
diff -r 7db07d073968 -r 4643be4de02d sys/compat/sunos32/sunos32_misc.c
--- a/sys/compat/sunos32/sunos32_misc.c Sun Feb 28 23:12:23 2016 +0000
+++ b/sys/compat/sunos32/sunos32_misc.c Sun Feb 28 23:24:35 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sunos32_misc.c,v 1.76 2015/10/23 19:40:11 maxv Exp $ */
+/* $NetBSD: sunos32_misc.c,v 1.77 2016/02/28 23:24:35 khorben Exp $ */
/* from :NetBSD: sunos_misc.c,v 1.107 2000/12/01 19:25:10 jdolecek Exp */
/*
@@ -77,7 +77,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sunos32_misc.c,v 1.76 2015/10/23 19:40:11 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunos32_misc.c,v 1.77 2016/02/28 23:24:35 khorben Exp $");
#define COMPAT_SUNOS 1
@@ -758,7 +758,7 @@
error = sys_mmap(l, &ua, retval);
if ((u_long)*retval > (u_long)UINT_MAX) {
- printf("sunos32_mmap: retval out of range: 0x%lx",
+ printf("sunos32_mmap: retval out of range: 0x%lx\n",
(u_long)*retval);
/* Should try to recover and return an error here. */
}
diff -r 7db07d073968 -r 4643be4de02d sys/compat/svr4_32/svr4_32_misc.c
--- a/sys/compat/svr4_32/svr4_32_misc.c Sun Feb 28 23:12:23 2016 +0000
+++ b/sys/compat/svr4_32/svr4_32_misc.c Sun Feb 28 23:24:35 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: svr4_32_misc.c,v 1.75 2014/09/05 09:21:55 matt Exp $ */
+/* $NetBSD: svr4_32_misc.c,v 1.76 2016/02/28 23:24:36 khorben Exp $ */
/*-
* Copyright (c) 1994, 2008 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: svr4_32_misc.c,v 1.75 2014/09/05 09:21:55 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: svr4_32_misc.c,v 1.76 2016/02/28 23:24:36 khorben Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -490,7 +490,7 @@
error = sys_mmap(l, &mm, retval);
if ((u_long)*retval > (u_long)UINT_MAX) {
- printf("svr4_32_mmap: retval out of range: 0x%lx",
+ printf("svr4_32_mmap: retval out of range: 0x%lx\n",
(u_long)*retval);
/* Should try to recover and return an error here. */
}
@@ -523,7 +523,7 @@
error = sys_mmap(l, &mm, retval);
if ((u_long)*retval > (u_long)UINT_MAX) {
- printf("svr4_32_mmap64: retval out of range: 0x%lx",
+ printf("svr4_32_mmap64: retval out of range: 0x%lx\n",
(u_long)*retval);
/* Should try to recover and return an error here. */
}
Home |
Main Index |
Thread Index |
Old Index