diff options
author | David Turner <digit@android.com> | 2010-05-01 15:31:39 -0700 |
---|---|---|
committer | Android Code Review <code-review@android.com> | 2010-05-01 15:31:39 -0700 |
commit | 0be7eda75a14815aaa3e5cd5d5d4e5d25dc35d1c (patch) | |
tree | e650cc8dd8a90d8d424f9035798c5f77b9172b22 /libc | |
parent | 716e06071a93d2c8dfbde99ea1dfcb7d2cf93d70 (diff) | |
parent | c22da7ed32f8b537b8e4653fd777056e8315ebdf (diff) | |
download | bionic-0be7eda75a14815aaa3e5cd5d5d4e5d25dc35d1c.zip bionic-0be7eda75a14815aaa3e5cd5d5d4e5d25dc35d1c.tar.gz bionic-0be7eda75a14815aaa3e5cd5d5d4e5d25dc35d1c.tar.bz2 |
Merge "Fix log channel initialization at bionic/logd_write.c."
Diffstat (limited to 'libc')
-rw-r--r-- | libc/bionic/logd_write.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/bionic/logd_write.c b/libc/bionic/logd_write.c index 3336428..39f0258 100644 --- a/libc/bionic/logd_write.c +++ b/libc/bionic/logd_write.c @@ -113,6 +113,8 @@ static int __write_to_log_init(log_id_t log_id, struct iovec *vec) log_channels[log_id].logger = (fd < 0) ? __write_to_log_null : __write_to_log_kernel; + log_channels[log_id].fd = fd; + pthread_mutex_unlock(&log_init_lock); return log_channels[log_id].logger(log_id, vec); |