diff --git a/src/ChangeLog b/src/ChangeLog index 1ca8b348..5f0a55ef 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2001-12-13 Hrvoje Niksic + + * init.c (wgetrc_file_name): Print correct message when loading + getenv("WGETRC") fails. + 2001-12-13 Hrvoje Niksic * recur.c (register_download): Don't abort when one URL references diff --git a/src/init.c b/src/init.c index 030abe9f..4a49da4a 100644 --- a/src/init.c +++ b/src/init.c @@ -301,7 +301,7 @@ wgetrc_file_name (void) { if (!file_exists_p (env)) { - fprintf (stderr, "%s: %s: %s.\n", exec_name, file, strerror (errno)); + fprintf (stderr, "%s: %s: %s.\n", exec_name, env, strerror (errno)); exit (1); } return xstrdup (env);