X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=nfs3%2Fnfs3.c;h=cffad527ac86de393240f8851dde04ec6ded1b0d;hb=1c01b8eab9e65d1e8856b9589413915e4cca8cac;hp=004aed84a094aa622e6d22238f5043efd133f678;hpb=03476a3d39444ff2a09174e945ab645508c2224c;p=bluesky.git diff --git a/nfs3/nfs3.c b/nfs3/nfs3.c index 004aed8..cffad52 100644 --- a/nfs3/nfs3.c +++ b/nfs3/nfs3.c @@ -376,7 +376,7 @@ nfsproc3_create_3_svc(create3args *argp, struct svc_req *rqstp) file->nlink = 1; file->mode = 0755; int64_t time = bluesky_get_current_time(); - printf("time: %lld\n", time); + printf("time: %"PRIi64"\n", time); file->mtime = time; file->ctime = time; file->atime = time; @@ -572,7 +572,7 @@ nfsproc3_readdir_3_svc(readdir3args *argp, struct svc_req *rqstp) static entry3 dirents[MAX_READDIR_DIRENTS]; int count = 0; - BlueSkyDirent start = {NULL, argp->cookie, 0}; + BlueSkyDirent start = {NULL, NULL, argp->cookie, 0}; GSequenceIter *i = g_sequence_search(dir->dirents, &start, bluesky_dirent_compare, NULL);