Module Name:    src
Committed By:   maxv
Date:           Fri Aug 23 12:49:59 UTC 2019

Modified Files:
        src/sys/compat/linux32/common: linux32_ioctl.c

Log Message:
Put the printf under DEBUG_LINUX.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/compat/linux32/common/linux32_ioctl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux32/common/linux32_ioctl.c
diff -u src/sys/compat/linux32/common/linux32_ioctl.c:1.13 src/sys/compat/linux32/common/linux32_ioctl.c:1.14
--- src/sys/compat/linux32/common/linux32_ioctl.c:1.13	Tue Aug 18 02:02:58 2009
+++ src/sys/compat/linux32/common/linux32_ioctl.c	Fri Aug 23 12:49:59 2019
@@ -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 @@ linux32_sys_ioctl(struct lwp *l, const s
 		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;
 	}

Reply via email to