summaryrefslogtreecommitdiff
path: root/base/include/android-base/errors.h
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2015-11-05 10:07:53 -0800
committerTom Cherry <tomcherry@google.com>2015-11-05 10:07:53 -0800
commita7c7bce252a6bce1539e9caa84420de3698029e7 (patch)
treee9118ab62eaecc0309cc2daf9a70736de15d8074 /base/include/android-base/errors.h
parent1e2382a0277eb36fb57a3a54202945556dfd234b (diff)
Fix isValid() condition for libsync tests
Upstream modifications in K3.12 to the sw_sync driver set O_CLOEXEC on the fd's returned by the SW_SYNC_IOC_CREATE_FENCE ioctl, therefore we check the return of fcntl() for a non-negative value instead of strictly 0. Change-Id: If4c82750fcc0aa3a57f243fa2a94691e3150e4a4
Diffstat (limited to 'base/include/android-base/errors.h')
0 files changed, 0 insertions, 0 deletions