diff options
Diffstat (limited to 'miscutils/crontab.c')
-rw-r--r-- | miscutils/crontab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/crontab.c b/miscutils/crontab.c index a8e650c60..1acacc676 100644 --- a/miscutils/crontab.c +++ b/miscutils/crontab.c | |||
@@ -266,7 +266,7 @@ static int GetReplaceStream(const char *user, const char *file) | |||
266 | exit(0); | 266 | exit(0); |
267 | 267 | ||
268 | bb_default_error_retval = 0; | 268 | bb_default_error_retval = 0; |
269 | fd = xopen3(file, O_RDONLY, 0); | 269 | fd = xopen(file, O_RDONLY); |
270 | buf[0] = 0; | 270 | buf[0] = 0; |
271 | write(filedes[1], buf, 1); | 271 | write(filedes[1], buf, 1); |
272 | while ((n = read(fd, buf, sizeof(buf))) > 0) { | 272 | while ((n = read(fd, buf, sizeof(buf))) > 0) { |