X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Ftstdl.cpp;h=35061423c59b6453f839d93e8287a6d1f1e259c7;hb=586d78659d671683f33ec55f4a7d32b28e345ccd;hp=de06fdede88d0474ea17f2889b2dcee6c26e6288;hpb=e9530d6289df9b848e4901d7c73f5a2f27706d66;p=metaproxy-moved-to-github.git diff --git a/src/tstdl.cpp b/src/tstdl.cpp index de06fde..3506142 100644 --- a/src/tstdl.cpp +++ b/src/tstdl.cpp @@ -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 @@ -54,8 +54,9 @@ int main(int argc, char **argv) /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil - * c-file-style: "stroustrup" * End: * vim: shiftwidth=4 tabstop=8 expandtab */ +