X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Fnfsclient-sync.c;h=521bf4e1fa5a5d2c3dfdb6e6f3787bf51383b48e;hb=752d8ed28a91219de086635d73e0ba45991abb1e;hp=460af53968eb2bf7535727a5d4e6fc68044ea198;hpb=cdb19ec1642636497881215a69166fd5f1d0cda2;p=deb_libnfs.git diff --git a/examples/nfsclient-sync.c b/examples/nfsclient-sync.c index 460af53..521bf4e 100644 --- a/examples/nfsclient-sync.c +++ b/examples/nfsclient-sync.c @@ -20,7 +20,7 @@ #define SERVER "10.1.1.27" #define EXPORT "/VIRTUAL" -#define NFSFILE "/BOOKS/Classics/Dracula.djvu" +#define NFSFILE "/BOOKS/Classics/Dracula.djvu.truncated" #define NFSFILER "/BOOKS/Classics/Dracula.djvu.renamed" #define NFSFILEW "/BOOKS/Classics/foo" #define NFSDIR "/BOOKS/Classics/" @@ -46,7 +46,7 @@ struct client { }; -char buf[2*1024*1024]; +char buf[5*1024*1024]; int main(int argc _U_, char *argv[] _U_) { @@ -85,7 +85,7 @@ int main(int argc _U_, char *argv[] _U_) printf("Failed to mount nfs share : %s\n", nfs_get_error(nfs)); exit(10); } - printf("mounted share successfully\n"); + printf("mounted share successfully %s\n", nfs_get_error(nfs)); ret = nfs_stat(nfs, NFSFILE, &st);