projects
/
platform
/
upstream
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libbb: [x]fopen_for_{read,write} introduced and used.
[platform/upstream/busybox.git]
/
miscutils
/
crond.c
diff --git
a/miscutils/crond.c
b/miscutils/crond.c
index
c7ee793
..
b3a06a3
100644
(file)
--- a/
miscutils/crond.c
+++ b/
miscutils/crond.c
@@
-529,7
+529,7
@@
static void CheckUpdates(void)
FILE *fi;
char buf[256];
- fi = fopen
(CRONUPDATE, "r"
);
+ fi = fopen
_for_read(CRONUPDATE
);
if (fi != NULL) {
unlink(CRONUPDATE);
while (fgets(buf, sizeof(buf), fi) != NULL) {