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/f4610e61dc6c
branches:  trunk
changeset: 459097:f4610e61dc6c
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 f47752518a21 -r f4610e61dc6c 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