aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/ci.c
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2024-12-26 11:44:15 +0100
committerEgor Tensin <egor@tensin.name>2024-12-26 11:44:15 +0100
commitb4df6f859a2c0804069a7c2fe26656d982828b1a (patch)
treed66be4321a52f609d04df1eb3ef27db541b172b3 /src/ci.c
parentMakefile: remove obsolete comment (diff)
downloadcimple-b4df6f859a2c0804069a7c2fe26656d982828b1a.tar.gz
cimple-b4df6f859a2c0804069a7c2fe26656d982828b1a.zip
file: rename syscall wrappers
Diffstat (limited to 'src/ci.c')
-rw-r--r--src/ci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ci.c b/src/ci.c
index 0e40548..cdb2f21 100644
--- a/src/ci.c
+++ b/src/ci.c
@@ -86,7 +86,7 @@ int ci_run_git_repo(const char *url, const char *rev, struct proc_output *output
if (ret < 0)
goto exit;
- ret = my_chdir(git_repository_workdir(repo), &oldpwd);
+ ret = chdir_wrapper(git_repository_workdir(repo), &oldpwd);
if (ret < 0)
goto free_repo;
@@ -95,7 +95,7 @@ int ci_run_git_repo(const char *url, const char *rev, struct proc_output *output
goto oldpwd;
oldpwd:
- my_chdir(oldpwd, NULL);
+ chdir_wrapper(oldpwd, NULL);
free(oldpwd);
free_repo: