diff options
author | Tyler Murphy <tylerm@tylerm.dev> | 2023-05-14 21:43:02 -0400 |
---|---|---|
committer | Tyler Murphy <tylerm@tylerm.dev> | 2023-05-14 21:43:02 -0400 |
commit | e735ad6710a82604a206ad29f6cbcdd7dc4b024c (patch) | |
tree | 5fe8eebbb7a2bff20bb71bd2368955356979e0a2 /command/dd.c | |
parent | sync (diff) | |
download | lazysphere-e735ad6710a82604a206ad29f6cbcdd7dc4b024c.tar.gz lazysphere-e735ad6710a82604a206ad29f6cbcdd7dc4b024c.tar.bz2 lazysphere-e735ad6710a82604a206ad29f6cbcdd7dc4b024c.zip |
refactor and add su
Diffstat (limited to 'command/dd.c')
-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); |