diff options
| author | Stephen Hines <srhines@google.com> | 2012-08-13 16:03:19 -0700 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2012-08-13 16:03:19 -0700 |
| commit | 2a1067d144be5437df98ddb0f2d3680f03dafa5f (patch) | |
| tree | f8466fb84ad3fac35e1d9a4954b216a8625e0ff7 | |
| parent | 84dcf091482b8d0f484e665915d354069a8c879b (diff) | |
| parent | 753b96cf67f3eaf716510600516c3c593a1ae5e1 (diff) | |
| download | system_core-2a1067d144be5437df98ddb0f2d3680f03dafa5f.tar.gz system_core-2a1067d144be5437df98ddb0f2d3680f03dafa5f.tar.bz2 system_core-2a1067d144be5437df98ddb0f2d3680f03dafa5f.zip | |
am 753b96cf: am dd56039c: Merge "Fixed an unused param warning in logcat"
* commit '753b96cf67f3eaf716510600516c3c593a1ae5e1':
Fixed an unused param warning in logcat
| -rw-r--r-- | logcat/logcat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/logcat/logcat.cpp b/logcat/logcat.cpp index b71ce86a..d3b5ed0b 100644 --- a/logcat/logcat.cpp +++ b/logcat/logcat.cpp @@ -101,7 +101,7 @@ static EventTagMap* g_eventTagMap = NULL; static int openLogFile (const char *pathname) { - return open(g_outputFileName, O_WRONLY | O_APPEND | O_CREAT, S_IRUSR | S_IWUSR); + return open(pathname, O_WRONLY | O_APPEND | O_CREAT, S_IRUSR | S_IWUSR); } static void rotateLogs() |
