Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/linux/common I don't see the point in having this...



details:   https://anonhg.NetBSD.org/src/rev/e121cb368692
branches:  trunk
changeset: 964984:e121cb368692
user:      maxv <maxv%NetBSD.org@localhost>
date:      Sat Aug 24 14:21:13 2019 +0000

description:
I don't see the point in having this useless printf, but add a '\n' to it,
so that it at least displays useless stuff correctly.

diffstat:

 sys/compat/linux/common/linux_misc.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a2c26d25dbd6 -r e121cb368692 sys/compat/linux/common/linux_misc.c
--- a/sys/compat/linux/common/linux_misc.c      Sat Aug 24 14:18:43 2019 +0000
+++ b/sys/compat/linux/common/linux_misc.c      Sat Aug 24 14:21:13 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_misc.c,v 1.243 2019/08/23 08:01:42 maxv Exp $    */
+/*     $NetBSD: linux_misc.c,v 1.244 2019/08/24 14:21:13 maxv Exp $    */
 
 /*-
  * Copyright (c) 1995, 1998, 1999, 2008 The NetBSD Foundation, Inc.
@@ -57,7 +57,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_misc.c,v 1.243 2019/08/23 08:01:42 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_misc.c,v 1.244 2019/08/24 14:21:13 maxv Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -240,7 +240,7 @@
 # ifdef DIAGNOSTIC
        if (linux_options & LINUX_WAIT4_WNOTHREAD)
                printf("WARNING: %s: linux process %d.%d called "
-                      "waitpid with __WNOTHREAD set!",
+                      "waitpid with __WNOTHREAD set!\n",
                       __FILE__, l->l_proc->p_pid, l->l_lid);
 
 # endif



Home | Main Index | Thread Index | Old Index