diff --git a/nasl/exec.c b/nasl/exec.c index 454a19ba6..6f9cf0267 100644 --- a/nasl/exec.c +++ b/nasl/exec.c @@ -1646,7 +1646,7 @@ exec_nasl_script (struct script_infos *script_infos, int mode) if (g_chdir (newdir) != 0) { g_message ("%s: Not able to open nor to locate it in include paths", - name); + newdir); g_free (old_dir); g_free (newdir); return -1;