shithub: lwext4

Download patch

ref: 936b134756cd7f7f76c958dad1c8aaa072dc092c
parent: 650f1026e4d9195335d0644e63456cf9ea87a6e2
author: gkostka <kostka.grzegorz@gmail.com>
date: Thu Jul 16 17:47:51 EDT 2015

Remove warnings comming from assert macro usage

--- a/lwext4/ext4_debug.h
+++ b/lwext4/ext4_debug.h
@@ -104,8 +104,8 @@
 #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