diff options
| author | Elliott Hughes <enh@google.com> | 2015-06-30 08:22:24 -0700 |
|---|---|---|
| committer | Elliott Hughes <enh@google.com> | 2015-06-30 10:41:15 -0700 |
| commit | 6ed68cc412752e4c78755df9a1516e610ec66fa8 (patch) | |
| tree | 287929b99130bf3a06b67b5abf2d3b4b6d8199f3 /libutils/misc.cpp | |
| parent | 692dc75d9fbf5c256cd8c66219a930ae0fe9f523 (diff) | |
| download | system_core-6ed68cc412752e4c78755df9a1516e610ec66fa8.tar.gz system_core-6ed68cc412752e4c78755df9a1516e610ec66fa8.tar.bz2 system_core-6ed68cc412752e4c78755df9a1516e610ec66fa8.zip | |
Consistently use strerror in libutils.
It's easier for people to debug, and side-steps the problem that errno
values differ between architectures.
Bug: http://b/17458391
Change-Id: I1db9b2cbb653839d3936b91e37e5cff02671318a
Diffstat (limited to 'libutils/misc.cpp')
| -rw-r--r-- | libutils/misc.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libutils/misc.cpp b/libutils/misc.cpp index ed1ba2392..216dc1430 100644 --- a/libutils/misc.cpp +++ b/libutils/misc.cpp @@ -24,7 +24,6 @@ #include <sys/stat.h> #include <string.h> -#include <errno.h> #include <stdio.h> #if !defined(_WIN32) |
