Re: format_cpumask()

Keith Owens
2003-11-18T00:36:22Z

On Mon, 17 Nov 2003 16:26:47 -0800,
William Lee Irwin III <wli@holomorphy.com> wrote:
>+ m = sprintf(buf, "%0*lx", 2*sizeof(long), cpus_coerce(tmp));

Sorry, that has to be

+ m = sprintf(buf, "%0*lx", (int)(2*sizeof(long)), cpus_coerce(tmp));

otherwise gcc complains on 64 bit systems. The '*' flag requires an
int parameter, sizeof returns long.