From 1b486cebecd4eba9c2bda14ad8b04a5180db85ed Mon Sep 17 00:00:00 2001 From: rocky Date: Sat, 21 Feb 2004 18:29:59 +0000 Subject: [PATCH] Reduce severity of not being able to open a stdio from "error" (unrecoverable) to "warn". --- lib/_cdio_stdio.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/_cdio_stdio.c b/lib/_cdio_stdio.c index d6e97964..c6b21f06 100644 --- a/lib/_cdio_stdio.c +++ b/lib/_cdio_stdio.c @@ -1,5 +1,5 @@ /* - $Id: _cdio_stdio.c,v 1.6 2004/02/07 18:53:02 rocky Exp $ + $Id: _cdio_stdio.c,v 1.7 2004/02/21 18:29:59 rocky Exp $ Copyright (C) 2000 Herbert Valerio Riedel Copyright (C) 2003, 2004 Rocky Bernstein @@ -35,7 +35,7 @@ #include "_cdio_stream.h" #include "_cdio_stdio.h" -static const char _rcsid[] = "$Id: _cdio_stdio.c,v 1.6 2004/02/07 18:53:02 rocky Exp $"; +static const char _rcsid[] = "$Id: _cdio_stdio.c,v 1.7 2004/02/21 18:29:59 rocky Exp $"; #define CDIO_STDIO_BUFSIZE (128*1024) @@ -190,7 +190,8 @@ cdio_stdio_new(const char pathname[]) if (stat (pathname, &statbuf) == -1) { - cdio_error ("could not stat() file `%s': %s", pathname, strerror (errno)); + cdio_warn ("could not retrieve file info for `%s': %s", + pathname, strerror (errno)); return NULL; }