diff options
author | 2016-09-19 12:44:50 -0700 | |
---|---|---|
committer | 2016-09-19 12:44:50 -0700 | |
commit | 9656be18407d6efb0537afdbc7dcb5f0965c74fc (patch) | |
tree | f24a22b2df5816d2fa94d253dae7ef595e3fd470 | |
parent | 75bb94fe7e90ab36f9dfd19577a5cdab491cca66 (diff) |
Rename unique_fd::clear to unique_fd::reset.
Test: m checkbuild
Change-Id: I8cbf2b538c270d8ef50ab6fdcf4fecbcd65899a8
-rw-r--r-- | cmds/dumpsys/dumpsys.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/dumpsys/dumpsys.cpp b/cmds/dumpsys/dumpsys.cpp index 7e5bbc578b..0601c87158 100644 --- a/cmds/dumpsys/dumpsys.cpp +++ b/cmds/dumpsys/dumpsys.cpp @@ -201,7 +201,7 @@ int main(int argc, char* const argv[]) // call returns, to terminate our reads if the other end closes their copy of the // file descriptor, but then hangs for some reason. There doesn't seem to be a good // way to do this, though. - remote_end.clear(); + remote_end.reset(); if (err != 0) { aerr << "Error dumping service info: (" << strerror(err) << ") " << service_name |