hiren panchasara <hiren.panchas...@gmail.com> wrote in <calcpeug98bmk5hh58xwpr4d39vgptpotfsjnej-1phk5vm2...@mail.gmail.com>:
hi> On Jun 22, 2013 6:09 AM, "O. Hartmann" <ohart...@zedat.fu-berlin.de> wrote: hi> > hi> > hi> > Just for notice. hi> > hi> > The most recent sources fail to compile a kernel successfully: hi> hi> http://svnweb.freebsd.org/changeset/base/252074 hi> hi> This change is the culprit. The attached patch should fix it. -- Hiroki
Index: sys/fs/nfsclient/nfs_clstate.c =================================================================== --- sys/fs/nfsclient/nfs_clstate.c (revision 252096) +++ sys/fs/nfsclient/nfs_clstate.c (working copy) @@ -77,6 +77,7 @@ * until they succeed or an unmount/recovery occurs. * (Since we are done with them, they do not need to be recovered.) */ +#include <machine/_inttypes.h> #ifndef APPLEKEXT #include <fs/nfs/nfsport.h> @@ -5156,9 +5157,9 @@ lyp->nfsly_fhlen, 0, flp->nfsfl_off, len, lyp->nfsly_lastbyte, &lyp->nfsly_stateid, NFSLAYOUT_NFSV4_1_FILES, 0, NULL, cred, p, NULL); - NFSCL_DEBUG(4, "layoutcommit err=%d off=%qd len=%qd " - "lastbyte=%qd\n", error, flp->nfsfl_off, len, - lyp->nfsly_lastbyte); + NFSCL_DEBUG(4, "layoutcommit err=%d off=%" PRIu64 + " len=%" PRIu64 "lastbyte=%" PRIu64 "\n", error, + flp->nfsfl_off, len, lyp->nfsly_lastbyte); if (error == NFSERR_NOTSUPP) { /* If not supported, don't bother doing it. */ NFSLOCKMNT(nmp);
pgpllmbhAQuOY.pgp
Description: PGP signature