[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAO+b5-rP+s7QgObFfudiM9wsVjfXVrVeWs9-OtTsp70rX-te+Q@mail.gmail.com>
Date: Tue, 26 Jul 2011 09:32:22 +0200
From: Bart Van Assche <bvanassche@....org>
To: Jim Cromie <jim.cromie@...il.com>
Cc: jbaron@...hat.com, joe@...ches.com, gregkh@...e.de,
linux-kernel@...r.kernel.org, gnb@...h.org
Subject: Re: [PATCH 21/25] dynamic_debug: shrink struct pending query to size
actually needed
On Mon, Jul 25, 2011 at 11:42 PM, Jim Cromie <jim.cromie@...il.com> wrote:
> - pr_debug("query saved as pending %d\n", pending_ct);
> + pr_debug("query saved as pending %d, in %d+%d bytes\n",
> + pending_ct, sizeof(struct pending_query), buflen);
The proper format specifier for size_t is %zd, not %d. Does this mean
that this code has not yet been compiled on a 64-bit system ?
Bart.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists