Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/linux32/common Put the printf under DEBUG_LINUX.



details:   https://anonhg.NetBSD.org/src/rev/200b6970bf2e
branches:  trunk
changeset: 453713:200b6970bf2e
user:      maxv <maxv%NetBSD.org@localhost>
date:      Fri Aug 23 12:49:59 2019 +0000

description:
Put the printf under DEBUG_LINUX.

diffstat:

 sys/compat/linux32/common/linux32_ioctl.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 3633d655d1b5 -r 200b6970bf2e sys/compat/linux32/common/linux32_ioctl.c
--- a/sys/compat/linux32/common/linux32_ioctl.c Fri Aug 23 12:42:14 2019 +0000
+++ b/sys/compat/linux32/common/linux32_ioctl.c Fri Aug 23 12:49:59 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux32_ioctl.c,v 1.13 2009/08/18 02:02:58 christos Exp $ */
+/*     $NetBSD: linux32_ioctl.c,v 1.14 2019/08/23 12:49:59 maxv Exp $ */
 
 /*-
  * Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux32_ioctl.c,v 1.13 2009/08/18 02:02:58 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux32_ioctl.c,v 1.14 2019/08/23 12:49:59 maxv Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -124,7 +124,9 @@
                error = linux32_ioctl_socket(l, uap, retval);
                break;
        default:
+#ifdef DEBUG_LINUX
                printf("Not yet implemented ioctl group \'%c\'\n", group);
+#endif
                error = EINVAL;
                break;
        }



Home | Main Index | Thread Index | Old Index