diff options
Diffstat (limited to 'src/libs6/s6_svc_lock_take.c')
-rw-r--r-- | src/libs6/s6_svc_lock_take.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs6/s6_svc_lock_take.c b/src/libs6/s6_svc_lock_take.c index a98aeab..fcb098a 100644 --- a/src/libs6/s6_svc_lock_take.c +++ b/src/libs6/s6_svc_lock_take.c @@ -17,7 +17,7 @@ int s6_svc_lock_take (char const *dir) memcpy(lock + dirlen, "/" S6_SUPERVISE_CTLDIR, sizeof(S6_SUPERVISE_CTLDIR) + 1) ; if ((mkdir(lock, S_IRWXU) < 0) && (errno != EEXIST)) return -1 ; memcpy(lock + dirlen + sizeof(S6_SUPERVISE_CTLDIR), "/lock", 6) ; - fdlock = open_createcoe(lock) ; + fdlock = openc_create(lock) ; if (fdlock < 0) return -1 ; if (lock_ex(fdlock) < 0) { |