for (i = 0; i < sizeof(flags) / sizeof(flags[0]); i++) {
enum NTDB_ERROR ecode;
- ntdb = ntdb_open("run-locktimeout.ntdb", flags[i],
- O_RDWR|O_CREAT|O_TRUNC, 0600, &tap_log_attr);
+ ntdb = ntdb_open("run-locktimeout.ntdb",
+ flags[i]|MAYBE_NOSYNC,
+ O_RDWR|O_CREAT|O_TRUNC, 0600, &tap_log_attr);
if (!ok1(ntdb))
break;