[flashrom] [PATCH] Fix up msg_* macros

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Sat Jan 9 04:24:28 CET 2010


On 09.01.2010 04:17, Sean Nelson wrote:
> On 1/8/2010 7:13 PM, Carl-Daniel Hailfinger wrote:
>> The msg_* macros won't compile as is if
>> you use more than one parameter (i.e. have a format string and a
>> variable).
>>
> .... I didn't even know about that, kinda strange that flashrom
> compiled fine on my system. i686-apple-darwin10-gcc-4.2.1

It compiled fine unless you actually tried to use the macros as
replacement for
printf_debug("%s", "some string");

> Acked-by: Sean Nelson <audiohacked at gmail.com>

Thanks, r841.

Regards,
Carl-Daniel

-- 
Developer quote of the year:
"We are juggling too many chainsaws and flaming arrows and tigers."





More information about the flashrom mailing list