Fix Metaproxy stops logging after check config failed MP-590
[metaproxy-moved-to-github.git] / src / tstdl.cpp
index 9933ad6..3506142 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of Metaproxy.
-   Copyright (C) 2005-2008 Index Data
+   Copyright (C) Index Data
 
 Metaproxy is free software; you can redistribute it and/or modify it under
 the terms of the GNU General Public License as published by the Free
@@ -42,7 +42,7 @@ int main(int argc, char **argv)
        exit(1);
     }
     void *sym = dlsym(mod, argv[2]);
-    printf("sym=%p\n", sym);
+    cout << "sym=" << sym << endl;
     dlclose(mod);
     exit(0);
 #else