From: Jens Axboe Date: Fri, 21 Apr 2006 11:00:14 +0000 (+0200) Subject: [PATCH] vmsplice: remember to update 'buffer' for multiple iterations X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=ee0531f5b51d54d41c3157d26b6c5235838e8a3d;p=splice.git [PATCH] vmsplice: remember to update 'buffer' for multiple iterations --- 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;