summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-08-25 23:12:01 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-08-25 23:12:01 +0000
commit1a5c74f01a6ed5469f7271d3d6a7e9c7a0e986ee (patch)
tree598500c4d9b1764969dd1af58d11e2a69f895209
parentdb3f6c256b231300775742c8b956d8451a62d517 (diff)
downloadcoreutils-1a5c74f01a6ed5469f7271d3d6a7e9c7a0e986ee.tar.xz
Fix typo in previous checkin; a "&" went missing.
-rw-r--r--src/shred.c2
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)
{