diff options
Diffstat (limited to 'coreutils/dd.c')
-rw-r--r-- | coreutils/dd.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/coreutils/dd.c b/coreutils/dd.c index 0d5b3e8ab..f40dec712 100644 --- a/coreutils/dd.c +++ b/coreutils/dd.c | |||
@@ -114,11 +114,7 @@ extern int dd_main(int argc, char **argv) | |||
114 | argv++; | 114 | argv++; |
115 | } | 115 | } |
116 | 116 | ||
117 | buf = malloc(blockSize); | 117 | buf = xmalloc(blockSize); |
118 | if (buf == NULL) { | ||
119 | fprintf(stderr, "Cannot allocate buffer\n"); | ||
120 | exit(FALSE); | ||
121 | } | ||
122 | 118 | ||
123 | intotal = 0; | 119 | intotal = 0; |
124 | outTotal = 0; | 120 | outTotal = 0; |