summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--booster/src/booster.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/booster/src/booster.c b/booster/src/booster.c
index f3834e11938..f53772410ce 100644
--- a/booster/src/booster.c
+++ b/booster/src/booster.c
@@ -595,8 +595,11 @@ out:
return -1;
}
+int __REDIRECT (booster_false_creat, (const char *pathname, mode_t mode),
+ creat) __nonnull ((1));
+
int
-creat (const char *pathname, mode_t mode)
+booster_false_creat (const char *pathname, mode_t mode)
{
int ret = -1;
if (!pathname) {