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/3969951357a5
branches:  trunk
changeset: 459127:3969951357a5
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 9e6e58948d78 -r 3969951357a5 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