diff options
-rw-r--r-- | src/debugmacro.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debugmacro.h b/src/debugmacro.h index df237bad3..ded2d2667 100644 --- a/src/debugmacro.h +++ b/src/debugmacro.h @@ -34,7 +34,7 @@ #define D(...) \ do { \ FILE *fp = fopen("/tmp/log.txt","a"); \ - fprintf(fp,"%s:%s:%d:\t", __FILE__, __FUNCTION__, __LINE__); \ + fprintf(fp,"%s:%s:%d:\t", __FILE__, __func__, __LINE__); \ fprintf(fp,__VA_ARGS__); \ fprintf(fp,"\n"); \ fclose(fp); \ |