From ef8c01e43baf18ab7a829bc685b38196bf0b12e1 Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Sun, 14 Dec 2003 23:21:19 +0000 Subject: avoid sefault CVS patchset: 5914 CVS date: 2003/12/14 23:21:19 --- src/xine-engine/load_plugins.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/xine-engine/load_plugins.c b/src/xine-engine/load_plugins.c index 1fbae6d69..9ba321d33 100644 --- a/src/xine-engine/load_plugins.c +++ b/src/xine-engine/load_plugins.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: load_plugins.c,v 1.168 2003/12/05 15:55:04 f1rmb Exp $ + * $Id: load_plugins.c,v 1.169 2003/12/14 23:21:19 f1rmb Exp $ * * * Load input/demux/audio_out/video_out/codec plugins @@ -465,10 +465,10 @@ static void collect_plugins(xine_t *this, char *path){ #endif if(!info && !(lib = dlopen (str, RTLD_LAZY | RTLD_GLOBAL))) { - + char *error = dlerror(); /* too noisy -- but good to catch unresolved references */ xprintf(this, XINE_VERBOSITY_LOG, - _("load_plugins: cannot open plugin lib %s:\n%s\n"), str, dlerror()); + _("load_plugins: cannot open plugin lib %s:\n%s\n"), str, error); } else { -- cgit v1.2.3