public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Typo in fs/smbfs/file.c
@ 2004-06-11 21:14 Bernhard Wesely
  2004-06-11 21:53 ` Jörn Engel
  0 siblings, 1 reply; 3+ messages in thread
From: Bernhard Wesely @ 2004-06-11 21:14 UTC (permalink / raw)
  To: linux-kernel

Hello,

I recently compiled 2.6.6 and got a gcc warning:

  CC      fs/smbfs/file.o
fs/smbfs/file.c: In function `smb_file_sendfile':
fs/smbfs/file.c:274: warning: unknown conversion type character `z' in format
fs/smbfs/file.c:274: warning: too many arguments for format

Well, there seems to be a "z" instead of a "Z". I changed it and the
compile went cleanly. I downloaded the source of 2.6.7-rc3 and the typo
was still there.

The fixed line looks like:

PARANOIA("%s/%s validation failed, error=%Zd\n", DENTRY_PATH(dentry),
status);


Please CC any answers to me directly as I'm not subscribed to this list.

Bye, Bernhard Wesely


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Typo in fs/smbfs/file.c
  2004-06-11 21:14 Bernhard Wesely
@ 2004-06-11 21:53 ` Jörn Engel
  0 siblings, 0 replies; 3+ messages in thread
From: Jörn Engel @ 2004-06-11 21:53 UTC (permalink / raw)
  To: urban, samba; +Cc: linux-kernel, Bernhard Wesely

On Fri, 11 June 2004 23:14:51 +0200, Bernhard Wesely wrote:
> 
> I recently compiled 2.6.6 and got a gcc warning:
> 
>   CC      fs/smbfs/file.o
> fs/smbfs/file.c: In function `smb_file_sendfile':
> fs/smbfs/file.c:274: warning: unknown conversion type character `z' in format
> fs/smbfs/file.c:274: warning: too many arguments for format
> 
> Well, there seems to be a "z" instead of a "Z". I changed it and the
> compile went cleanly. I downloaded the source of 2.6.7-rc3 and the typo
> was still there.
> 
> The fixed line looks like:
> 
> PARANOIA("%s/%s validation failed, error=%Zd\n", DENTRY_PATH(dentry),
> status);

Just forwarding to the correct hands (as of MAINTAINERS file).

Jörn

-- 
The wise man seeks everything in himself; the ignorant man tries to get
everything from somebody else.
-- unknown

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Typo in fs/smbfs/file.c
@ 2004-06-12  9:15 Nick Warne
  0 siblings, 0 replies; 3+ messages in thread
From: Nick Warne @ 2004-06-12  9:15 UTC (permalink / raw)
  To: linux-kernel

I reported this sometime back, and it appears it's not so much of a 
typo, but GCC allows both in some cases - but not _my_ GCC.

http://lkml.org/lkml/2004/3/14/53

I have to change to upper case 'Z' every new build to get it to build 
clean.

Nick

-- 
"When you're chewing on life's gristle,
Don't grumble, Give a whistle..."


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-06-12  9:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-12  9:15 Typo in fs/smbfs/file.c Nick Warne
  -- strict thread matches above, loose matches on Subject: below --
2004-06-11 21:14 Bernhard Wesely
2004-06-11 21:53 ` Jörn Engel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox