diff options
Diffstat (limited to '')
-rw-r--r-- | command/dd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/command/dd.c b/command/dd.c index 67f8be3..1fb81c5 100644 --- a/command/dd.c +++ b/command/dd.c @@ -48,7 +48,7 @@ COMMAND(dd) { } } - buffer = malloc(bs); + buffer = xalloc(bs); while ((read = fread(buffer, 1, bs, in_file)) != 0) { fwrite(buffer, 1, read, out_file); |