diff options
author | Colin Walters <walters@verbum.org> | 2016-03-18 16:52:10 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2016-03-23 10:26:01 -0400 |
commit | d456fe5adb00aaf66af001ee003c8ff8cf53581b (patch) | |
tree | 08280c71e9f43f60f530c65d2ca3cac6a1da4894 /src/libostree/ostree-repo-static-delta-compilation.c | |
parent | 614483ecd174c3e5f9c048ebd517d186c88caa89 (diff) | |
download | ostree-d456fe5adb00aaf66af001ee003c8ff8cf53581b.tar.gz |
libglnx porting: Use glnx_set_error_from_errno
:warning: There is a notable spiked pit trap here around
`posix_fallocate()` and `errno`. This has bit other projects,
see e.g.
https://github.com/systemd/systemd/commit/7bb87460e691d30c1a7fd23a1a8240776957e05f
Otherwise the port was straightforward.
Diffstat (limited to 'src/libostree/ostree-repo-static-delta-compilation.c')
-rw-r--r-- | src/libostree/ostree-repo-static-delta-compilation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libostree/ostree-repo-static-delta-compilation.c b/src/libostree/ostree-repo-static-delta-compilation.c index 301ef99d..df5dc19e 100644 --- a/src/libostree/ostree-repo-static-delta-compilation.c +++ b/src/libostree/ostree-repo-static-delta-compilation.c @@ -465,7 +465,7 @@ get_unpacked_unlinked_content (OstreeRepo *repo, fd = g_mkstemp (tmpname); if (fd == -1) { - gs_set_error_from_errno (error, errno); + glnx_set_error_from_errno (error); goto out; } /* Doesn't need a name */ |