X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/3903760236c30e3b5ace7a4eefac3a269d68957c..bca245acd4c03fd752d1a45f011ad495e60fe53d:/libsyscall/wrappers/renamex.c diff --git a/libsyscall/wrappers/renamex.c b/libsyscall/wrappers/renamex.c index 8bdfdcd0d..89898b190 100644 --- a/libsyscall/wrappers/renamex.c +++ b/libsyscall/wrappers/renamex.c @@ -30,7 +30,9 @@ int renameatx_np(int oldfd, const char *old, int newfd, const char *new, unsigned int flags) { int res = __renameatx_np(oldfd, old, newfd, new, flags); - if (res == 0) __inc_remove_counter(); + if (res == 0) { + __inc_remove_counter(); + } return res; }