Re: [PATCH 21/25] dynamic_debug: shrink struct pending query to size actually needed

Bart Van Assche
2011-07-26T07:32:49Z

On Mon, Jul 25, 2011 at 11:42 PM, Jim Cromie <jim.cromie@gmail.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.