changeset 600:7dc9a549e380

[project @ 1994-08-12 04:27:33 by jwe]
author jwe
date Fri, 12 Aug 1994 04:27:33 +0000
parents 3ed5cf2aef94
children 40fd0c98467a
files src/error.cc
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/error.cc	Fri Aug 12 04:20:27 1994 +0000
+++ b/src/error.cc	Fri Aug 12 04:27:33 1994 +0000
@@ -41,7 +41,8 @@
 static void
 verror (const char *name, const char *fmt, va_list args)
 {
-  cerr << name << ": ";
+  if (name)
+    cerr << name << ": ";
   cerr.vform (fmt, args);
   cerr << endl;