mirror of https://gitee.com/openkylin/libvirt.git
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:
parent
e505db0f6c
commit
cc3d335b76
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue