From 23a78ace5c6ac948ae51274d07eb8c847feecb54 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Wed, 11 Jan 2006 17:57:38 +0000 Subject: [PATCH] Clearer diagnostic. --- src/tstdl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tstdl.cpp b/src/tstdl.cpp index 4f3eb66..f8cc805 100644 --- a/src/tstdl.cpp +++ b/src/tstdl.cpp @@ -1,4 +1,4 @@ -/* $Id: tstdl.cpp,v 1.1 2005-12-10 09:59:10 adam Exp $ +/* $Id: tstdl.cpp,v 1.2 2006-01-11 17:57:38 mike Exp $ Copyright (c) 2005, Index Data. %LICENSE% @@ -25,7 +25,7 @@ int main(int argc, char **argv) void *mod = dlopen(argv[1][0] ? argv[1] : 0, RTLD_NOW|RTLD_LOCAL); if (!mod) { - cerr << "dlopen failed for file " << argv[1] << + cerr << "dlopen failed for file '" << argv[1] << "'\n" << "dlerror=" << dlerror() << endl; exit(1); } -- 1.7.10.4