summaryrefslogtreecommitdiff
path: root/sys/compat/linux/common/linux_cdrom.c
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2002-03-22 17:14:18 +0000
committerchristos <christos@NetBSD.org>2002-03-22 17:14:18 +0000
commit65fc8539e47a03779ed0bc3c9b2f5b95dce587b9 (patch)
treeb41c9c26e2a85ceda2f9cbbf1643550429dba8e9 /sys/compat/linux/common/linux_cdrom.c
parentc8f14c1d4450a7e16983c13af7e47fe059cb7c05 (diff)
gc debugging printfs.
Diffstat (limited to 'sys/compat/linux/common/linux_cdrom.c')
-rw-r--r--sys/compat/linux/common/linux_cdrom.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/compat/linux/common/linux_cdrom.c b/sys/compat/linux/common/linux_cdrom.c
index d63a5b8e6d4..6e946979317 100644
--- a/sys/compat/linux/common/linux_cdrom.c
+++ b/sys/compat/linux/common/linux_cdrom.c
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_cdrom.c,v 1.12 2002/03/16 20:43:53 christos Exp $ */
+/* $NetBSD: linux_cdrom.c,v 1.13 2002/03/22 17:14:18 christos Exp $ */
/*
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_cdrom.c,v 1.12 2002/03/16 20:43:53 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_cdrom.c,v 1.13 2002/03/22 17:14:18 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -59,7 +59,7 @@ __KERNEL_RCSID(0, "$NetBSD: linux_cdrom.c,v 1.12 2002/03/16 20:43:53 christos Ex
static int bsd_to_linux_msf_lba(unsigned address_format, union msf_lba *bml,
union linux_cdrom_addr *llml);
-#if 0
+#if DEBUG_LINUX
#define DPRINTF(x) uprintf x
#else
#define DPRINTF(x)
@@ -204,7 +204,7 @@ linux_ioctl_cdrom(p, uap, retval)
l_tocentry.cdte_ctrl = t_entry.control;
if (bsd_to_linux_msf_lba(t_entry.addr_type, &t_entry.addr,
&l_tocentry.cdte_addr) < 0) {
- uprintf("linux_ioctl: unknown format msf/lba\n");
+ DPRINTF(("linux_ioctl: unknown format msf/lba\n"));
error = EINVAL;
break;
}