diff options
Diffstat (limited to 'vms/vms_gawk.c')
-rw-r--r-- | vms/vms_gawk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vms/vms_gawk.c b/vms/vms_gawk.c index 222d803d..8b20c377 100644 --- a/vms/vms_gawk.c +++ b/vms/vms_gawk.c @@ -80,8 +80,8 @@ vms_gawk() int native_dcl = 1, /* assume true until we know otherwise */ short_circ; /* some options make P1, /commands, /input superfluous */ - CmdName = (which_gawk == exe_profiling) ? "PGAWK" - : (which_gawk == exe_debugging) ? "DGAWK" + CmdName = do_profile ? "PGAWK" + : do_debug ? "DGAWK" : "GAWK"; /* check "GAWK_P1"--it's required; its presence will tip us off */ |