diff options
author | Greg Hartman | 2015-02-03 11:05:29 -0600 |
---|---|---|
committer | Greg Hartman | 2015-02-03 11:06:33 -0600 |
commit | 465f75f6029e2aa7cdda5fa99c733b0496f4d7b2 (patch) | |
tree | 4edd6ee71d471bb43651fae5f035e7011adde1ab /logwrapper | |
parent | 1fa9971ec35182df4920776e99767ae0e0b69295 (diff) | |
download | platform-system-core-465f75f6029e2aa7cdda5fa99c733b0496f4d7b2.tar.gz platform-system-core-465f75f6029e2aa7cdda5fa99c733b0496f4d7b2.tar.xz platform-system-core-465f75f6029e2aa7cdda5fa99c733b0496f4d7b2.zip |
Put in line breaks when logging to klog
Change-Id: I0fd4d0a03d8c69e1ef2d8192f59893f4bda61691
Diffstat (limited to 'logwrapper')
-rw-r--r-- | logwrapper/logwrap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/logwrapper/logwrap.c b/logwrapper/logwrap.c index 3a6276e0f..83576fb8f 100644 --- a/logwrapper/logwrap.c +++ b/logwrapper/logwrap.c | |||
@@ -325,7 +325,7 @@ static int parent(const char *tag, int parent_read, pid_t pid, | |||
325 | 325 | ||
326 | if (log_target & LOG_KLOG) { | 326 | if (log_target & LOG_KLOG) { |
327 | snprintf(log_info.klog_fmt, sizeof(log_info.klog_fmt), | 327 | snprintf(log_info.klog_fmt, sizeof(log_info.klog_fmt), |
328 | "<6>%.*s: %%s", MAX_KLOG_TAG, log_info.btag); | 328 | "<6>%.*s: %%s\n", MAX_KLOG_TAG, log_info.btag); |
329 | } | 329 | } |
330 | 330 | ||
331 | if ((log_target & LOG_FILE) && !file_path) { | 331 | if ((log_target & LOG_FILE) && !file_path) { |