]> git.saurik.com Git - apple/xnu.git/blobdiff - libsyscall/wrappers/unlinkat.c
xnu-6153.121.1.tar.gz
[apple/xnu.git] / libsyscall / wrappers / unlinkat.c
index 265235199873519592b27671b0250f3d1195bc6b..3b87e9211819667f30cd5d13c468ccccac993edc 100644 (file)
@@ -28,6 +28,8 @@ int
 unlinkat(int fd, const char *path, int flag)
 {
        int res = __unlinkat(fd, path, flag);
-       if (res == 0) __inc_remove_counter();
+       if (res == 0) {
+               __inc_remove_counter();
+       }
        return res;
 }