diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2009-03-25 09:43:27 +0100 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2009-03-25 09:43:27 +0100 |
commit | 9a797e37f07ca227eb2153437fa7d894cab4c244 (patch) | |
tree | 325ef1175e06458eacaf999ce1ada0d98bc20681 /tests/log | |
parent | 0d4fb3da116f6e6704bb8bafe11f4ff865ec6aea (diff) | |
download | wolfbones-9a797e37f07ca227eb2153437fa7d894cab4c244.tar.gz wolfbones-9a797e37f07ca227eb2153437fa7d894cab4c244.tar.bz2 |
reverted strerror and GetLastError way of logging, doesn't work that way!
Diffstat (limited to 'tests/log')
-rw-r--r-- | tests/log/test_log.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/log/test_log.c b/tests/log/test_log.c index 33e5141..87c16e6 100644 --- a/tests/log/test_log.c +++ b/tests/log/test_log.c @@ -41,9 +41,11 @@ int main( void ) { wolf_log( WOLF_LOG_ERR, WOLF_CATEGORY_TEST_LOG, WOLF_MSG_TEST_LOG_MSG6, "This is error %d with %s", 5, "foobar" ); +/* errno = 5; wolf_log_strerror( WOLF_LOG_ERR, WOLF_CATEGORY_TEST_LOG, WOLF_MSG_TEST_LOG_MSG7, "A system error occured during %s phase", "fla" ); +*/ #if defined WOLF_LOG_HAVE_EVENTLOG wolf_log_closelogtoeventlog( ); |