]> git.saurik.com Git - apple/xnu.git/blobdiff - tests/utimensat.c
xnu-4903.270.47.tar.gz
[apple/xnu.git] / tests / utimensat.c
index d5baad67fe0b8b93596542c52e2fcb4cf3f0d468..c534bde51d760f990d8194cee311793ac9d970c3 100644 (file)
@@ -45,13 +45,13 @@ T_DECL(utimensat, "Try various versions of utimensat")
        struct stat pre_st, post_st;
        int fd;
 
-       T_ASSERT_POSIX_SUCCESS((fd = open(FILENAME, O_CREAT|O_RDWR, 0644)), NULL);
+       T_ASSERT_POSIX_SUCCESS((fd = open(FILENAME, O_CREAT | O_RDWR, 0644)), NULL);
        T_ASSERT_POSIX_ZERO(close(fd), NULL);
 
-       for (size_t i = 0; i < sizeof(tptr)/sizeof(tptr[0]); i++) {
-               T_LOG("=== {%ld, %ld} {%ld, %ld} ===", 
-                               tptr[i][0].tv_sec, tptr[i][0].tv_nsec,
-                               tptr[i][1].tv_sec, tptr[i][1].tv_nsec);
+       for (size_t i = 0; i < sizeof(tptr) / sizeof(tptr[0]); i++) {
+               T_LOG("=== {%ld, %ld} {%ld, %ld} ===",
+                   tptr[i][0].tv_sec, tptr[i][0].tv_nsec,
+                   tptr[i][1].tv_sec, tptr[i][1].tv_nsec);
 
                struct timespec now;
                clock_gettime(CLOCK_REALTIME, &now);