Skip to contentSkip to conversation

Build problem smbfs/file.c

DISCUSSION Nick Warne 1 participant 1 message Mar 13, 2004

lore
Share & tools
lore

Nick Warne

author
#0 lore raw
Quoted 5 lines

I got a build warning:

... type character `z'...
fs/smbfs/file.c: 272 too many arguments for format.

Quoted 8 lines

Line 272:

PARANOIA("%s/%s validation failed, error=%zd\n"

Ummm. I removed the `z' from error=%zd\n" - it appears to be rogue, but what do I know ;)

And no warnings now. Is this as it should be?

OK, replying to myself.

it should be (I believe from looking at other code):

PARANOIA("%s/%s validation failed, error=%Zd\n"

Nick

Signature · 2 lines
"When you're chewing on life's gristle,
Don't grumble, Give a whistle..."