diff --git a/sdcard/sdcard.c b/sdcard/sdcard.c index 3a164ed62..2f02f65ed 100644 --- a/sdcard/sdcard.c +++ b/sdcard/sdcard.c @@ -14,6 +14,8 @@ * limitations under the License. */ +#define LOG_TAG "sdcard" + #include #include #include @@ -35,6 +37,7 @@ #include #include +#include #include #include @@ -90,12 +93,12 @@ #define FUSE_TRACE 0 #if FUSE_TRACE -#define TRACE(x...) fprintf(stderr,x) +#define TRACE(x...) ALOGD(x) #else #define TRACE(x...) do {} while (0) #endif -#define ERROR(x...) fprintf(stderr,x) +#define ERROR(x...) ALOGE(x) #define FUSE_UNKNOWN_INO 0xffffffff