chiark
/
gitweb
/
~mdw
/
mLib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
utils/bits.h: Refactor the load/store macros.
[mLib]
/
utils
/
t
/
exc-test.c
diff --git
a/utils/t/exc-test.c
b/utils/t/exc-test.c
index f9a94635438ba152a72f4c0c0d2f2d6fb822b177..89701bfd223b66580e69901bf450fa38aa61acd7 100644
(file)
--- a/
utils/t/exc-test.c
+++ b/
utils/t/exc-test.c
@@
-35,7
+35,10
@@
int main(void)
printf("%lu exception (val = %i)\n", exc_type, exc_i);
break;
} END_TRY;
printf("%lu exception (val = %i)\n", exc_type, exc_i);
break;
} END_TRY;
- printf("hello! __exc_list = %p\n", __exc_list);
+ printf("hello! __exc_list = ");
+ if (__exc_list) printf("%p", (void *)__exc_list);
+ else printf("(nil)");
+ putchar('\n');
return (0);
}
return (0);
}