diff options
-rw-r--r-- | coreutils/dd.c | 6 | ||||
-rw-r--r-- | dd.c | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/coreutils/dd.c b/coreutils/dd.c index 01441c314..1002c0771 100644 --- a/coreutils/dd.c +++ b/coreutils/dd.c @@ -116,7 +116,8 @@ extern int dd_main(int argc, char **argv) * here anyways... */ /* free(buf); */ - fatalError( inFile); + perror(inFile); + exit(FALSE); } if (outFile == NULL) @@ -131,7 +132,8 @@ extern int dd_main(int argc, char **argv) /* close(inFd); free(buf); */ - fatalError( outFile); + perror(outFile); + exit(FALSE); } lseek(inFd, (off_t) (skipBlocks * blockSize), SEEK_SET); @@ -116,7 +116,8 @@ extern int dd_main(int argc, char **argv) * here anyways... */ /* free(buf); */ - fatalError( inFile); + perror(inFile); + exit(FALSE); } if (outFile == NULL) @@ -131,7 +132,8 @@ extern int dd_main(int argc, char **argv) /* close(inFd); free(buf); */ - fatalError( outFile); + perror(outFile); + exit(FALSE); } lseek(inFd, (off_t) (skipBlocks * blockSize), SEEK_SET); |