aboutsummaryrefslogtreecommitdiffstats
path: root/msg.c
diff options
context:
space:
mode:
Diffstat (limited to 'msg.c')
-rw-r--r--msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/msg.c b/msg.c
index 84a4e5cd..3ed02331 100644
--- a/msg.c
+++ b/msg.c
@@ -46,7 +46,7 @@ err(const char *s, const char *emsg, va_list argp)
(void) fflush(output_fp);
me = myname;
- if (STREQN(me, "dgawk", 5))
+ if (strncmp(me, "dgawk", 5) == 0)
me = &myname[1];
(void) fprintf(stderr, "%s: ", me);
#ifdef GAWKDEBUG