summaryrefslogtreecommitdiffstats
path: root/vold/logwrapper.c
diff options
context:
space:
mode:
Diffstat (limited to 'vold/logwrapper.c')
-rw-r--r--vold/logwrapper.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/vold/logwrapper.c b/vold/logwrapper.c
index 46f6ed3..8da4892 100644
--- a/vold/logwrapper.c
+++ b/vold/logwrapper.c
@@ -42,7 +42,8 @@ int parent(const char *tag, int parent_read) {
buffer[b] = '\0';
} else if (buffer[b] == '\n') {
buffer[b] = '\0';
- LOG(LOG_INFO, tag, &buffer[a]);
+
+ LOG(LOG_INFO, tag, "%s", &buffer[a]);
a = b + 1;
}
}