diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2003-01-19 10:36:29 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2003-01-19 10:36:29 +0000 |
commit | 1f7f002d1bc77486b296879e08edceb63c9d64d4 (patch) | |
tree | c2f6935ebef33b1874d2b786ce836d48e9989d82 /include | |
parent | 7c255f0b6285aa2c4eb9ec1e0df1eddbfd7dd2c1 (diff) | |
download | ebtables-1f7f002d1bc77486b296879e08edceb63c9d64d4.tar.gz ebtables-1f7f002d1bc77486b296879e08edceb63c9d64d4.tar.bz2 ebtables-1f7f002d1bc77486b296879e08edceb63c9d64d4.zip |
<dwhedon_at_debian.org> use __FUNCTION__ as argument instead of string
constant (deprecated).
Diffstat (limited to 'include')
-rw-r--r-- | include/ebtables_u.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ebtables_u.h b/include/ebtables_u.h index c1af715..d4b2bc7 100644 --- a/include/ebtables_u.h +++ b/include/ebtables_u.h @@ -212,8 +212,8 @@ void __print_bug(char *file, int line, char *format, ...); #define print_bug(format, args...) \ __print_bug(__FILE__, __LINE__, format, ##args) #define print_error(format,args...) {printf(format".\n",##args); exit(-1);} -#define print_memory() {printf("Ebtables: " __FILE__ " " __FUNCTION__ \ - " %d :Out of memory.\n", __LINE__); exit(-1);} +#define print_memory() {printf("Ebtables: " __FILE__ \ + " %s %d :Out of memory.\n", __FUNCTION__, __LINE__); exit(-1);} /* used for keeping the rule counters right during rule adds or deletes */ #define CNT_NORM 0 |