diff options
Diffstat (limited to 'tests-clar/clar_helpers.c')
-rw-r--r-- | tests-clar/clar_helpers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests-clar/clar_helpers.c b/tests-clar/clar_helpers.c index 697614095..d180285b8 100644 --- a/tests-clar/clar_helpers.c +++ b/tests-clar/clar_helpers.c @@ -30,7 +30,7 @@ void cl_git_mkfile(const char *filename, const char *content) void cl_git_write2file(const char *filename, const char *new_content, int flags) { - int fd = open(filename, flags, 0644); + int fd = p_open(filename, flags, 0644); cl_assert(fd >= 0); if (!new_content) new_content = "\n"; |