From: Peter Krempa Date: Wed, 5 Feb 2014 17:39:23 +0000 (+0100) Subject: maint: Change the text of the NULLSTR() macro to "" X-Git-Tag: v1.2.2-rc1~170 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc3d335b768e1432ca7d1e8e580489983e587bd7;p=thirdparty%2Flibvirt.git maint: Change the text of the NULLSTR() macro to "" 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. --- diff --git a/src/internal.h b/src/internal.h index 4ba0e4194e..cef3da0328 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) : "") /** * TODO: