From 1a5c74f01a6ed5469f7271d3d6a7e9c7a0e986ee Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 25 Aug 2006 23:12:01 +0000 Subject: Fix typo in previous checkin; a "&" went missing. --- src/shred.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3-70-g09d2