All of lore.kernel.org
 help / color / mirror / Atom feed
From: Timothy Miller <miller@techsource.com>
To: "Bryan O'Sullivan" <bos@serpentine.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Kernel printk format string compression: C syntax problem
Date: Fri, 06 Jun 2003 14:50:59 -0400	[thread overview]
Message-ID: <3EE0E293.7080904@techsource.com> (raw)
In-Reply-To: 1054922496.29652.12.camel@serpentine.internal.keyresearch.com



Bryan O'Sullivan wrote:

> 
> 
> No.  Look at the __attribute__ on printk in include/linux/kernel.h.  GCC
> believes that printk takes a printf-style format string as its first
> argument, but you've mangled the string so that the number of format
> specifiers doesn't match the number of arguments.
> 


Oh!  So GCC is trying to be smart about printf format strings?  Cool. 
Never mind then.  :)


  reply	other threads:[~2003-06-06 18:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-06 17:27 Kernel printk format string compression: C syntax problem Timothy Miller
2003-06-06 18:01 ` Bryan O'Sullivan
2003-06-06 18:50   ` Timothy Miller [this message]
     [not found] ` <Pine.LNX.4.53.0306061330520.7633@chaos>
2003-06-06 18:49   ` Timothy Miller
2003-06-06 19:16     ` Richard B. Johnson
2003-06-06 19:31       ` Timothy Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3EE0E293.7080904@techsource.com \
    --to=miller@techsource.com \
    --cc=bos@serpentine.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.