Merge "liblog: fix an undefined-behavor in __write_to_log_daemon()"
am: a3b6d30ba7

Change-Id: I5a50c19876333dfec5445838e6bcd3c406cdc5b2