projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
makedevs: shrink by Vladimir
[oweals/busybox.git]
/
modutils
/
depmod.c
diff --git
a/modutils/depmod.c
b/modutils/depmod.c
index d128ac0ff4ead4e49826ebc06534c3343821fb5b..b6a914eb051ccdf0b7c9b76912940d313200557f 100644
(file)
--- a/
modutils/depmod.c
+++ b/
modutils/depmod.c
@@
-150,7
+150,7
@@
int depmod_main(int argc UNUSED_PARAM, char **argv)
if (!(option_mask32 & ARG_n)) { /* --dry-run */
chp = concat_path_file(moddir, CONFIG_DEFAULT_DEPMOD_FILE);
if (!(option_mask32 & ARG_n)) { /* --dry-run */
chp = concat_path_file(moddir, CONFIG_DEFAULT_DEPMOD_FILE);
- filedes = xfopen
(chp, "w"
);
+ filedes = xfopen
_for_write(chp
);
if (ENABLE_FEATURE_CLEAN_UP)
free(chp);
}
if (ENABLE_FEATURE_CLEAN_UP)
free(chp);
}