Update logd_write.c