summaryrefslogtreecommitdiff
path: root/rts/RtsMessages.c
diff options
context:
space:
mode:
Diffstat (limited to 'rts/RtsMessages.c')
-rw-r--r--rts/RtsMessages.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/RtsMessages.c b/rts/RtsMessages.c
index ef5c5a226c..e2a30a613f 100644
--- a/rts/RtsMessages.c
+++ b/rts/RtsMessages.c
@@ -187,7 +187,7 @@ rtsErrorMsgFn(const char *s, va_list ap)
#endif
{
/* don't fflush(stdout); WORKAROUND bug in Linux glibc */
- if (prog_argv != NULL && prog_name != NULL) {
+ if (prog_name != NULL) {
fprintf(stderr, "%s: ", prog_name);
}
vfprintf(stderr, s, ap);