Don't give "source not a device message" for uniformity with other drivers.
This commit is contained in:
@@ -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 <hvr@gnu.org>
|
||||
Copyright (C) 2002, 2003, 2004 Rocky Bernstein <rocky@panix.com>
|
||||
@@ -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 <string.h>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user