From de907046331172f43ae3964a6c5e5572400d3ad8 Mon Sep 17 00:00:00 2001 From: mdw Date: Mon, 17 May 1999 20:35:30 +0000 Subject: [PATCH] Output uncaught exception types in hex, because they're easier to translate that way. --- exc.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/exc.c b/exc.c index 7bdc15f..7ef3812 100644 --- 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 * @@ -30,6 +30,10 @@ /*----- 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(); } -- 2.11.0