We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent69138a9 commit5ddecd1Copy full SHA for 5ddecd1
src/tools/fsync/test_fsync.c
@@ -80,7 +80,7 @@ int main(int argc, char *argv[])
80
print_elapse(start_t,elapse_t);
81
printf("\n");
82
83
-printf("\nTest file sync methods\n");
+printf("\nTest file sync methods:\n");
84
85
#ifdefOPEN_DATASYNC_FLAG
86
/* open_dsync, write */
@@ -93,8 +93,10 @@ int main(int argc, char *argv[])
93
unlink("/var/tmp/test_fsync.out");
94
printf("open o_dsync, write ");
95
96
-printf("\n");
+#else
97
+printf("o_dsync unavailable ");
98
#endif
99
+printf("\n");
100
101
/* open_fsync, write */
102
gettimeofday(&start_t,NULL);
@@ -120,8 +122,10 @@ int main(int argc, char *argv[])
120
122
121
123
printf("write, fdatasync ");
124
125
126
+printf("fdatasync unavailable ");
127
128
129
130
/* write, fsync, close */
131