From: Mike Taylor Date: Wed, 11 Jan 2006 17:57:38 +0000 (+0000) Subject: Clearer diagnostic. X-Git-Tag: YP2.0.0.2~99 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=23a78ace5c6ac948ae51274d07eb8c847feecb54;p=metaproxy-moved-to-github.git Clearer diagnostic. --- 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); }