]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - vss.c
Merge branch 'refs/heads/t/doc'
[paraslash.git] / vss.c
diff --git a/vss.c b/vss.c
index e6705b6f74cb7a9d4c9c2d5c93abab05020753a8..8b850fe1e56c27d3cebda6db2d0eb6984575c20e 100644 (file)
--- a/vss.c
+++ b/vss.c
@@ -25,8 +25,8 @@
 #include "string.h"
 #include "afh.h"
 #include "afs.h"
-#include "server.h"
 #include "net.h"
+#include "server.h"
 #include "list.h"
 #include "send.h"
 #include "sched.h"
@@ -997,7 +997,7 @@ static void recv_afs_result(struct vss_task *vsst, fd_set *rfds)
                goto err;
        }
        ret = para_mmap(statbuf.st_size, PROT_READ, MAP_PRIVATE | MAP_POPULATE,
-               passed_fd, 0, &vsst->map);
+               passed_fd, &vsst->map);
        if (ret < 0)
                goto err;
        vsst->mapsize = statbuf.st_size;