commit | dd56039c881db2efebfa7df6491579e3ae01748f | [log] [tgz] |
---|---|---|
author | Stephen Hines <srhines@google.com> | Mon Aug 13 12:03:51 2012 -0700 |
committer | android code review <noreply-gerritcodereview@google.com> | Mon Aug 13 12:03:51 2012 -0700 |
tree | b987cf65f40a47b49e1d391cab1921dd8017a7a5 | |
parent | ae8927aa05adf9e5a00760b45e4634eecf6340e3 [diff] | |
parent | 80b221cb22f37446e76829d2dd0e8953a32f3bda [diff] |
Merge "Fixed an unused param warning in logcat"
diff --git a/logcat/logcat.cpp b/logcat/logcat.cpp index b71ce86..d3b5ed0 100644 --- a/logcat/logcat.cpp +++ b/logcat/logcat.cpp
@@ -101,7 +101,7 @@ 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()