From 936b134756cd7f7f76c958dad1c8aaa072dc092c Mon Sep 17 00:00:00 2001 From: gkostka Date: Thu, 16 Jul 2015 21:47:51 +0000 Subject: Remove warnings comming from assert macro usage --- lwext4/ext4_debug.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lwext4/ext4_debug.h b/lwext4/ext4_debug.h index 868e7da..9eed22d 100644 --- a/lwext4/ext4_debug.h +++ b/lwext4/ext4_debug.h @@ -104,8 +104,8 @@ uint32_t ext4_dmask_get(void); #define ext4_assert(_v) \ do { \ if (!(_v)) { \ - printf("Assertion failed:\nmodule: %s\nfunc: %s\nline: %d\n", \ - __FILE__, __FUNCTION__, __LINE__); \ + printf("Assertion failed:\nmodule: %s\nline: %d\n", \ + __FILE__, __LINE__); \ } \ } while (0) #else -- cgit v1.2.3