summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2016-02-17 11:01:21 -0500
committerColin Walters <walters@verbum.org>2016-02-17 11:06:53 -0500
commitd3eee15f8421326450b05c2dcac1aea121a92073 (patch)
tree16cf447e836f1538d2cd311db1d6492be60d8d39 /docs
parent2c2fd658ee141979c0310baf6d0b2807503323d5 (diff)
downloadostree-d3eee15f8421326450b05c2dcac1aea121a92073.tar.gz
rofiles-fuse: Fix truncate call to not use O_CREAT
I was getting a compilation error with the GCC hardening flags which look for a missing mode with `O_CREAT`. The right fix here is to drop `O_CREAT`, as truncate() should throw `ENOENT` if the file doesn't exist.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions