summaryrefslogtreecommitdiffstats
path: root/mtp
diff options
context:
space:
mode:
authorMatt Mower <mowerm@gmail.com>2017-02-15 03:57:36 +0100
committerDees Troy <dees_troy@teamw.in>2017-02-23 20:01:07 +0100
commitff2c6b2d52b7eeb6009d4b70b282ab5efa6992fe (patch)
tree802a4350ef617b6fbd8df9fc5f0fb57647376223 /mtp
parentDo not unconditionally remove MTP storage on unmount (diff)
downloadandroid_bootable_recovery-ff2c6b2d52b7eeb6009d4b70b282ab5efa6992fe.tar
android_bootable_recovery-ff2c6b2d52b7eeb6009d4b70b282ab5efa6992fe.tar.gz
android_bootable_recovery-ff2c6b2d52b7eeb6009d4b70b282ab5efa6992fe.tar.bz2
android_bootable_recovery-ff2c6b2d52b7eeb6009d4b70b282ab5efa6992fe.tar.lz
android_bootable_recovery-ff2c6b2d52b7eeb6009d4b70b282ab5efa6992fe.tar.xz
android_bootable_recovery-ff2c6b2d52b7eeb6009d4b70b282ab5efa6992fe.tar.zst
android_bootable_recovery-ff2c6b2d52b7eeb6009d4b70b282ab5efa6992fe.zip
Diffstat (limited to 'mtp')
-rw-r--r--mtp/MtpDebug.cpp2
-rw-r--r--mtp/MtpDebug.h8
2 files changed, 5 insertions, 5 deletions
diff --git a/mtp/MtpDebug.cpp b/mtp/MtpDebug.cpp
index 47834ab26..c986923db 100644
--- a/mtp/MtpDebug.cpp
+++ b/mtp/MtpDebug.cpp
@@ -1,4 +1,5 @@
/*
+ * Copyright (C) 2017 TeamWin
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -12,7 +13,6 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- * Copyright (C) 2014 TeamWin - bigbiff and Dees_Troy mtp database conversion to C++
*
*/
diff --git a/mtp/MtpDebug.h b/mtp/MtpDebug.h
index b572b3b96..073ddcc83 100644
--- a/mtp/MtpDebug.h
+++ b/mtp/MtpDebug.h
@@ -1,4 +1,5 @@
/*
+ * Copyright (C) 2017 TeamWin
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -13,7 +14,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*
- * Copyright (C) 2014 TeamWin - bigbiff and Dees_Troy mtp database conversion to C++
*/
#ifndef _MTP_DEBUG_H
@@ -29,9 +29,9 @@ extern "C" {
#endif
void mtpdebug(const char *fmt, ...);
-#define MTPI(...) fprintf(stdout, __VA_ARGS__)
-#define MTPD(...) mtpdebug(__VA_ARGS__)
-#define MTPE(...) fprintf(stdout, "E:" __VA_ARGS__)
+#define MTPI(...) fprintf(stdout, "I:[MTP] " __VA_ARGS__)
+#define MTPD(...) mtpdebug("D:[MTP] " __VA_ARGS__)
+#define MTPE(...) fprintf(stdout, "E:[MTP] " __VA_ARGS__)
#ifdef __cplusplus
}