From a06fa01ac68205243b40b50fcd4881e341c7ef52 Mon Sep 17 00:00:00 2001 From: Pen-Yung Yu Date: Mon, 19 Jan 2015 19:33:44 +0800 Subject: [PATCH] Fixup typo and disable debug message Change-Id: I646b9a52172c300072443eb8a605e1ebf6f840c6 --- .../android/libportable/common/include/errno_portable.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ndk/sources/android/libportable/common/include/errno_portable.h b/ndk/sources/android/libportable/common/include/errno_portable.h index 8742bb4ee..8966c7775 100644 --- a/ndk/sources/android/libportable/common/include/errno_portable.h +++ b/ndk/sources/android/libportable/common/include/errno_portable.h @@ -22,6 +22,8 @@ #include #include +#define ALOGV(...) + #define EDEADLK_PORTABLE 35 #define ENAMETOOLONG_PORTABLE 36 #define ENOLCK_PORTABLE 37 @@ -461,7 +463,7 @@ void WRAP(__set_errno)(int portable_errno) extern char* REAL(strerror)(int); char *WRAP(strerror)(int errnum) { - return REAL(strerror)(errno_p2on(errnum)); + return REAL(strerror)(errno_pton(errnum)); } /* BSD style strerror_r */