From ee0531f5b51d54d41c3157d26b6c5235838e8a3d Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Fri, 21 Apr 2006 13:00:14 +0200 Subject: [PATCH] [PATCH] vmsplice: remember to update 'buffer' for multiple iterations --- vmsplice.c | 1 + 1 file changed, 1 insertion(+) diff --git a/vmsplice.c b/vmsplice.c index be77534..9cad246 100644 --- a/vmsplice.c +++ b/vmsplice.c @@ -43,6 +43,7 @@ int do_vmsplice(int fd, void *buffer, int len) return error("vmsplice"); len -= written; + buffer += written; } return 0; -- 2.25.1