* Print "NULL" instead of "(nil)" when printing null pointers.

This commit is contained in:
Sam Hocevar
2007-01-17 15:02:05 +00:00
committed by sam
parent 714f88e8f7
commit b2bd02189a

View File

@@ -111,7 +111,7 @@ void _zz_debug(char const *format, ...)
{
uintptr_t i = va_arg(args, uintptr_t);
if(!i)
write(fd, "(nil)", 5);
write(fd, "NULL", 5);
else
{
write(fd, "0x", 2);