Typo in fs/smbfs/file.c

From: Bernhard Wesely (bernie_at_weselyb.net)
Date: 06/11/04

  • Next message: moilanen_at_austin.ibm.com: "Re: [PATCH][RFC] Spinlock-timeout"
    Date:	Fri, 11 Jun 2004 23:14:51 +0200 (CEST)
    To: linux-kernel@vger.kernel.org
    
    

    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

    -
    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/


  • Next message: moilanen_at_austin.ibm.com: "Re: [PATCH][RFC] Spinlock-timeout"

    Relevant Pages

    • Re: Possible dcache BUG
      ... During the compile, the above line output this warning: ... Copyright 2004 by Maurice Eugene Heskett, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Going From MFC to .NET
      ... Now the problem is that when I try to compile a debug or release vr. ... format; library ignored ... HardDriveTest.obj: error LNK2001: unresolved external symbol "unsigned ...
      (microsoft.public.vc.mfc)
    • [2.6 patch] fix aztcd.c compile warning
      ... with belows patch drivers/cdrom/aztcd.c compiles without warning ... the warning shows off on each single compile statistics by cherry. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • cant compile udf
      ... fs/udf/super.c:327: `opt' undeclared ... fs/udf/super.c:311: warning: unused variable `option' ... I tried to compile it as a module and inside the kernel too. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • current BK compilation failure on ppc32
      ... kernel/power/smp.c:24: error: storage size of `ctxt' isn't known ... kernel/power/smp.c:24: warning: unused variable `ctxt' ... but as they compile it only causes bloat..) ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)