提交 cc3d335b 编写于 作者: P Peter Krempa

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.
上级 e505db0f
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册