Fixed omission of if curly brackets causing stack corruption.

Initialization a local pointer variable was only done in some conditions
causing the uninitialized pointer to corrupt kernel stack of current.
This commit is contained in:
Bahadir Balban
2009-05-25 12:12:21 +03:00
parent 5ac5889a0f
commit bece68fbf7
3 changed files with 5 additions and 3 deletions

View File

@@ -3,7 +3,7 @@
#define __TASKNAME__ "test0"
#define TEST_VERBOSE_PRINT
//#define TEST_VERBOSE_PRINT
#if defined (TEST_VERBOSE_PRINT)
#define test_printf(...) printf(__VA_ARGS__)
#else