[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [libvirt] [PATCH] Avoid passing NULL to printf %s specifier
- From: John Levon <john levon sun com>
- To: Jim Meyering <jim meyering net>
- Cc: libvir-list redhat com
- Subject: Re: [libvirt] [PATCH] Avoid passing NULL to printf %s specifier
- Date: Thu, 15 Jan 2009 12:48:22 +0000
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]