diff options
author | Mark Salyzyn <salyzyn@google.com> | 2016-08-23 10:23:36 -0700 |
---|---|---|
committer | gitbuildkicker <android-build@google.com> | 2016-09-27 15:59:28 -0700 |
commit | dc7cf2204e8dbb2c825bad52f8504921e4a0f2b9 (patch) | |
tree | e5a4032270b3da0620fe1b9c23be284937740cbf | |
parent | e8ee40302200c1bd1fd6537c80bf5e8aab744d42 (diff) | |
download | system_core-dc7cf2204e8dbb2c825bad52f8504921e4a0f2b9.zip system_core-dc7cf2204e8dbb2c825bad52f8504921e4a0f2b9.tar.gz system_core-dc7cf2204e8dbb2c825bad52f8504921e4a0f2b9.tar.bz2 |
liblog: add __android_log_close()
Bug: 30963384
(cherry picked from commit df7a4c6bae5f85532d79a93b7d9197a2aab17825)
Change-Id: Ide70df3c04e29301649a1ca234b1b0af687bcbfb
(cherry picked from commit b1b5d507cba4b37221016d308dbf9fdd39019108)
-rw-r--r-- | liblog/logd_write.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/liblog/logd_write.c b/liblog/logd_write.c index 64492f2..667fdb3 100644 --- a/liblog/logd_write.c +++ b/liblog/logd_write.c @@ -355,6 +355,9 @@ void __android_log_close() #else close(logd_fd); logd_fd = -1; + + close(pstore_fd); + pstore_fd = -1; #endif #ifdef HAVE_PTHREADS |