maint: Change the text of the NULLSTR() macro to "<null>"

Eric Blake suggested to change this message to be different from the
glibc's NULL deref protection message in printf to be able to
differentiate errors.
This commit is contained in:
Peter Krempa 2014-02-05 18:39:23 +01:00
parent e505db0f6c
commit cc3d335b76

View File

@ -244,7 +244,7 @@
/*
* Use this when passing possibly-NULL strings to printf-a-likes.
*/
# define NULLSTR(s) ((s) ? (s) : "(null)")
# define NULLSTR(s) ((s) ? (s) : "<null>")
/**
* TODO: