From b2bd02189a402871de435ec9fd137ad66a87d53e Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Wed, 17 Jan 2007 15:02:05 +0000 Subject: [PATCH] * Print "NULL" instead of "(nil)" when printing null pointers. --- src/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debug.c b/src/debug.c index d54af46..9109fee 100644 --- a/src/debug.c +++ b/src/debug.c @@ -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);