diff options
author | Renato Botelho <renato@netgate.com> | 2016-03-07 11:04:05 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-03-07 11:04:05 -0300 |
commit | 5a7f68ff1a4cfedfb123a6ce621c19a5cf7373be (patch) | |
tree | 0f8b68d84ad9816b7bb8538b22f04c57636cda6c /usr.bin | |
parent | ac327b58ab68ee832ddcbbadfcbc6adc5d356cb8 (diff) | |
download | FreeBSD-src-5a7f68ff1a4cfedfb123a6ce621c19a5cf7373be.zip FreeBSD-src-5a7f68ff1a4cfedfb123a6ce621c19a5cf7373be.tar.gz |
Revert "Import patch from https://reviews.freebsd.org/D5186"
This reverts commit 3882f7f0612f5660c6287cfa1ba025f2843a1957.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/cap_mkdb/cap_mkdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/cap_mkdb/cap_mkdb.c b/usr.bin/cap_mkdb/cap_mkdb.c index 2f8bd96..bbcedd5 100644 --- a/usr.bin/cap_mkdb/cap_mkdb.c +++ b/usr.bin/cap_mkdb/cap_mkdb.c @@ -119,7 +119,7 @@ main(int argc, char *argv[]) (void)snprintf(buf, sizeof(buf), "%s.db", capname ? capname : *argv); if ((capname = strdup(buf)) == NULL) errx(1, "strdup failed"); - if ((capdbp = dbopen(capname, O_CREAT | O_TRUNC | O_RDWR, + if ((capdbp = dbopen(capname, O_CREAT | O_TRUNC | O_RDWR | O_SYNC, DEFFILEMODE, DB_HASH, &openinfo)) == NULL) err(1, "%s", buf); |