From 8c0d08b480e3bcc4e0861db0a4fc847874bfd559 Mon Sep 17 00:00:00 2001 From: rocky Date: Tue, 4 May 2004 01:57:23 +0000 Subject: [PATCH] Don't give "source not a device message" for uniformity with other drivers. --- lib/_cdio_linux.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/_cdio_linux.c b/lib/_cdio_linux.c index d49dbdef..aed338b7 100644 --- a/lib/_cdio_linux.c +++ b/lib/_cdio_linux.c @@ -1,5 +1,5 @@ /* - $Id: _cdio_linux.c,v 1.41 2004/04/30 21:36:53 rocky Exp $ + $Id: _cdio_linux.c,v 1.42 2004/05/04 01:57:23 rocky Exp $ Copyright (C) 2001 Herbert Valerio Riedel Copyright (C) 2002, 2003, 2004 Rocky Bernstein @@ -27,7 +27,7 @@ # include "config.h" #endif -static const char _rcsid[] = "$Id: _cdio_linux.c,v 1.41 2004/04/30 21:36:53 rocky Exp $"; +static const char _rcsid[] = "$Id: _cdio_linux.c,v 1.42 2004/05/04 01:57:23 rocky Exp $"; #include @@ -1139,7 +1139,10 @@ cdio_open_am_linux (const char *orig_source_name, const char *access_mode) if (cdio_is_device_generic(orig_source_name)) _set_arg_linux(_data, "source", orig_source_name); else { + /* The below would be okay if all device drivers worked this way. */ +#if 0 cdio_info ("source %s is a not a device", orig_source_name); +#endif return NULL; } }