diff options
author | Bernie Innocenti <codewiz@google.com> | 2019-03-29 05:08:33 +0100 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-03-29 05:08:33 +0100 |
commit | 7367caad0f526b102d1d20bac743a6ce133fa87a (patch) | |
tree | 385629afcd38f624cd8af6c2741aba0e9756b704 /fuse_sideload | |
parent | Merge "Remove the extern declaration of `sehandle` from roots.cpp." (diff) | |
parent | Merge "Fix bogus error checking on unique_fd" (diff) | |
download | android_bootable_recovery-7367caad0f526b102d1d20bac743a6ce133fa87a.tar android_bootable_recovery-7367caad0f526b102d1d20bac743a6ce133fa87a.tar.gz android_bootable_recovery-7367caad0f526b102d1d20bac743a6ce133fa87a.tar.bz2 android_bootable_recovery-7367caad0f526b102d1d20bac743a6ce133fa87a.tar.lz android_bootable_recovery-7367caad0f526b102d1d20bac743a6ce133fa87a.tar.xz android_bootable_recovery-7367caad0f526b102d1d20bac743a6ce133fa87a.tar.zst android_bootable_recovery-7367caad0f526b102d1d20bac743a6ce133fa87a.zip |
Diffstat (limited to '')
-rw-r--r-- | fuse_sideload/fuse_sideload.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fuse_sideload/fuse_sideload.cpp b/fuse_sideload/fuse_sideload.cpp index b5b6ac15e..3d9480309 100644 --- a/fuse_sideload/fuse_sideload.cpp +++ b/fuse_sideload/fuse_sideload.cpp @@ -392,7 +392,7 @@ int run_fuse_sideload(std::unique_ptr<FuseDataProvider>&& provider, const char* } fd.ffd.reset(open("/dev/fuse", O_RDWR)); - if (!fd.ffd) { + if (fd.ffd == -1) { perror("open /dev/fuse"); result = -1; goto done; |