Skip to content

Commit 067da4e

Browse files
author
git-core
committed
Provide LOG_TAG for db too
1 parent 73e06ac commit 067da4e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

su.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
** limitations under the License.
1616
*/
1717

18-
#define LOG_TAG "su"
19-
2018
#include <sys/types.h>
2119
#include <sys/socket.h>
2220
#include <sys/un.h>

su.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@
1818
#ifndef SU_h
1919
#define SU_h 1
2020

21+
#ifdef LOG_TAG
22+
#undef LOG_TAG
23+
#endif
24+
#define LOG_TAG "su"
25+
2126
#define REQUESTOR "com.noshufou.android.su"
2227
#define REQUESTOR_DATA_PATH "/data/data/" REQUESTOR
2328
#define REQUESTOR_CACHE_PATH "/dev/" REQUESTOR

0 commit comments

Comments
 (0)