Don't use dladdr() to get a pathname for the current executable().
[metze/wireshark/wip.git] / dftest.c
index 24e6002c1462ec271bace2934c39a2d1590e7269..e6e09b41e1945b604558de74024cf6663f213047 100644 (file)
--- a/dftest.c
+++ b/dftest.c
@@ -58,7 +58,7 @@ main(int argc, char **argv)
         * Attempt to get the pathname of the directory containing the
         * executable file.
         */
-       init_progfile_dir_error = init_progfile_dir(argv[0], main);
+       init_progfile_dir_error = init_progfile_dir(argv[0]);
        if (init_progfile_dir_error != NULL) {
                fprintf(stderr, "dftest: Can't get pathname of directory containing the dftest program: %s.\n",
                        init_progfile_dir_error);