aboutsummaryrefslogtreecommitdiffstats
path: root/fuzz/fuzzshark.c
diff options
context:
space:
mode:
Diffstat (limited to 'fuzz/fuzzshark.c')
-rw-r--r--fuzz/fuzzshark.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/fuzz/fuzzshark.c b/fuzz/fuzzshark.c
index 145bec0874..e6ee5720b8 100644
--- a/fuzz/fuzzshark.c
+++ b/fuzz/fuzzshark.c
@@ -151,7 +151,7 @@ fuzz_prefs_apply(void)
static int
fuzz_init(int argc _U_, char **argv)
{
- char *init_progfile_dir_error;
+ char *configuration_init_error;
static const struct report_message_routines fuzzshark_report_routines = {
failure_message,
@@ -256,10 +256,10 @@ fuzz_init(int argc _U_, char **argv)
/*
* Attempt to get the pathname of the executable file.
*/
- init_progfile_dir_error = init_progfile_dir(argv[0]);
- if (init_progfile_dir_error != NULL) {
- fprintf(stderr, "fuzzshark: Can't get pathname of oss-fuzzshark program: %s.\n", init_progfile_dir_error);
- g_free(init_progfile_dir_error);
+ configuration_init_error = configuration_init(argv[0], NULL);
+ if (configuration_init_error != NULL) {
+ fprintf(stderr, "fuzzshark: Can't get pathname of oss-fuzzshark program: %s.\n", configuration_init_error);
+ g_free(configuration_init_error);
}
/* Initialize the version information. */