[libvirt] [PATCH 1/2] maint: Change the text of the NULLSTR() macro to "<null>"
Peter Krempa
pkrempa at redhat.com
Wed Feb 5 17:44:03 UTC 2014
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.
---
src/internal.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/internal.h b/src/internal.h
index 4ba0e41..cef3da0 100644
--- a/src/internal.h
+++ b/src/internal.h
@@ -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:
--
1.8.5.3
More information about the libvir-list
mailing list