Re: [libvirt] [PATCH] Avoid passing NULL to printf %s specifier

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 15, 2009 at 12:17:21PM +0100, Jim Meyering wrote:

> #define NULLSTR(s) \
>   ((void)verify_true(sizeof *(s) == sizeof (char)), \
>    (s) ? (s) : "(null)")

Sure, I can try something like this.

regards
john

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]