[lkml]   [2003]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: format_cpumask()
    On Mon, 17 Nov 2003 16:26:47 -0800, 
    William Lee Irwin III <> 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.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:58    [W:0.026 / U:3.624 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site