diff options
| author | rsc <devnull@localhost> | 2006-04-20 21:01:48 +0000 |
|---|---|---|
| committer | rsc <devnull@localhost> | 2006-04-20 21:01:48 +0000 |
| commit | 4f959600b6cce4334367e7748e87a2a0ec42ab29 (patch) | |
| tree | 40f5831a170e9aca286d908610755e30bbc7097a /src/cmd/venti/srv/part.c | |
| parent | a5f3a00bcd0452d78afc5d8064da611d4b448093 (diff) | |
| download | plan9port-4f959600b6cce4334367e7748e87a2a0ec42ab29.tar.gz plan9port-4f959600b6cce4334367e7748e87a2a0ec42ab29.zip | |
minor bug fixes (mechiel lukkien, andrey)
Diffstat (limited to 'src/cmd/venti/srv/part.c')
| -rw-r--r-- | src/cmd/venti/srv/part.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/venti/srv/part.c b/src/cmd/venti/srv/part.c index f804af88..ff5c98e5 100644 --- a/src/cmd/venti/srv/part.c +++ b/src/cmd/venti/srv/part.c @@ -313,7 +313,7 @@ print("FAILED isread=%d r=%d count=%d blocksize=%d\n", isread, r, count, blocksi memmove(buf, tmp, count); else{ memmove(tmp, buf, count); - if(pwrite(fd, tmp, opsize, offset) != blocksize){ + if(pwrite(fd, tmp, blocksize, offset) != blocksize){ dst = tmp; op = "write"; goto Error; |
