diff options
-rw-r--r-- | Build/source/texk/psutils/progname.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/psutils/progname.c b/Build/source/texk/psutils/progname.c index 9d5d5f4f3a5..fcc4e57c72a 100644 --- a/Build/source/texk/psutils/progname.c +++ b/Build/source/texk/psutils/progname.c @@ -23,6 +23,6 @@ const char *program_name; void set_program_name (const char *argv0) { - kpse_set_program_name(argv0, "psutils"); - program_name = kpse_def->program_name; + kpse_set_program_name (argv0, "psutils"); + program_name = kpse_program_basename (argv0); } |