Put in line breaks when logging to klog

Change-Id: I0fd4d0a03d8c69e1ef2d8192f59893f4bda61691
This commit is contained in:
Greg Hartman 2015-02-03 09:05:29 -08:00
parent 1fa9971ec3
commit 465f75f602

View file

@ -325,7 +325,7 @@ static int parent(const char *tag, int parent_read, pid_t pid,
if (log_target & LOG_KLOG) {
snprintf(log_info.klog_fmt, sizeof(log_info.klog_fmt),
"<6>%.*s: %%s", MAX_KLOG_TAG, log_info.btag);
"<6>%.*s: %%s\n", MAX_KLOG_TAG, log_info.btag);
}
if ((log_target & LOG_FILE) && !file_path) {