diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/shred.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shred.c b/src/shred.c index 9de751a85..8ce515821 100644 --- a/src/shred.c +++ b/src/shred.c @@ -425,7 +425,7 @@ dopass (int fd, char const *qname, off_t *sizep, int type, break; } if (type < 0) - randread (s, r, lim); + randread (s, &r, lim); /* Loop to retry partial writes. */ for (soff = 0; soff < lim; soff += ssize, first_write = false) { |