diff options
Diffstat (limited to 'toys/other/shred.c')
-rw-r--r-- | toys/other/shred.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/shred.c b/toys/other/shred.c index 1932f758..9c13f6bd 100644 --- a/toys/other/shred.c +++ b/toys/other/shred.c @@ -90,7 +90,7 @@ void shred_main(void) throw = sizeof(toybuf); if (FLAG(x) && len-pos < throw) throw = len-pos; - if (iter != TT.n) xgetrandom(toybuf, throw, 0); + if (iter != TT.n) xgetrandom(toybuf, throw); if (throw != writeall(fd, toybuf, throw)) perror_msg_raw(*try); pos += throw; } |