diff options
| author | San Mehat <san@google.com> | 2009-06-25 14:34:00 -0700 |
|---|---|---|
| committer | The Android Open Source Project <initial-contribution@android.com> | 2009-06-25 14:34:00 -0700 |
| commit | 156f9c5e6bf59dfbea74e8e79e5f4a6eaad7b2ed (patch) | |
| tree | 72e368b8b3164ee017bfb4f59a504e5028f47b06 /vold | |
| parent | 760229900159104053fb433c243361c44b324072 (diff) | |
| parent | 1537d4805ef98a385c61c659f0e778b7074bbbfe (diff) | |
| download | system_core-156f9c5e6bf59dfbea74e8e79e5f4a6eaad7b2ed.zip system_core-156f9c5e6bf59dfbea74e8e79e5f4a6eaad7b2ed.tar.gz system_core-156f9c5e6bf59dfbea74e8e79e5f4a6eaad7b2ed.tar.bz2 | |
am 1537d480: vold: Fix bug where logwrapper would pass data to LOG() in the format field, which caused vsprintf to process format characters in the string.
Merge commit '1537d4805ef98a385c61c659f0e778b7074bbbfe'
* commit '1537d4805ef98a385c61c659f0e778b7074bbbfe':
vold: Fix bug where logwrapper would pass data to LOG() in the format field,
Diffstat (limited to 'vold')
| -rw-r--r-- | vold/logwrapper.c | 3 |
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; } } |
