Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262169AbTFFSZi (ORCPT ); Fri, 6 Jun 2003 14:25:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262170AbTFFSZi (ORCPT ); Fri, 6 Jun 2003 14:25:38 -0400 Received: from wmail.atlantic.net ([209.208.0.84]:28594 "HELO wmail.atlantic.net") by vger.kernel.org with SMTP id S262169AbTFFSZi (ORCPT ); Fri, 6 Jun 2003 14:25:38 -0400 Message-ID: <3EE0E293.7080904@techsource.com> Date: Fri, 06 Jun 2003 14:50:59 -0400 From: Timothy Miller User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Bryan O'Sullivan" CC: Linux Kernel Mailing List Subject: Re: Kernel printk format string compression: C syntax problem References: <3EE0CF07.2070908@techsource.com> <1054922496.29652.12.camel@serpentine.internal.keyresearch.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 644 Lines: 21 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. :) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/