Fixed wpi_setErrnoError to print the error name

Previously, wpi_setErrnoError and wpi_setErrnoErrorWithContext
always printed "Unknown errno" whenever a C library error
occured.

Change-Id: Ib235138eea0e83b0d7462dfd6e834e3499e3b0c5
This commit is contained in:
Thomas Clark
2014-07-25 16:52:00 -04:00
parent 326aa2e85c
commit 1038f98e83
3 changed files with 8 additions and 18 deletions

View File

@@ -9,5 +9,4 @@
extern "C"
{
void printCurrentStackTrace();
bool getErrnoToName(int32_t errNo, char* name);
}