From 15cfc41e9441c648caf10483520ba3503f2824a0 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 5 May 2018 00:19:09 -0700 Subject: Don't use dladdr() to get a pathname for the current executable(). Change-Id: I24ad11a659c2cb936f873339dc2b36ac9944280a Reviewed-on: https://code.wireshark.org/review/27359 Petri-Dish: Guy Harris Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris --- rawshark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rawshark.c') diff --git a/rawshark.c b/rawshark.c index 4371c5b058..59df200187 100644 --- a/rawshark.c +++ b/rawshark.c @@ -486,7 +486,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, "rawshark: Can't get pathname of rawshark program: %s.\n", init_progfile_dir_error); -- cgit v1.2.3