chiark / gitweb /
Output uncaught exception types in hex, because they're easier to
[mLib] / exc.c
diff --git a/exc.c b/exc.c
index 7bdc15f8d01b163355665b0ccdb7629378f9f0f7..7ef3812f9d90a62bb4cdab919f6e2f63391fdaed 100644 (file)
--- a/exc.c
+++ b/exc.c
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: exc.c,v 1.3 1999/05/06 19:51:35 mdw Exp $
+ * $Id: exc.c,v 1.4 1999/05/17 20:35:30 mdw Exp $
  *
  * Structured exception handling in C
  *
 /*----- Revision history --------------------------------------------------*
  *
  * $Log: exc.c,v $
+ * Revision 1.4  1999/05/17 20:35:30  mdw
+ * Output uncaught exception types in hex, because they're easier to
+ * translate that way.
+ *
  * Revision 1.3  1999/05/06 19:51:35  mdw
  * Reformatted the LGPL notice a little bit.
  *
@@ -65,7 +69,7 @@ __exc_hnd *__exc_list = 0;
 
 static void exc__duff(exc_extype type, exc_exval val)
 {
-  fprintf(stderr, "fatal error: uncaught exception (type = %lu)\n", type);
+  fprintf(stderr, "fatal error: uncaught exception (type = %lx)\n", type);
   abort();
 }