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 | 12f25a64cd5e2b8ae6ec673eddb662999d6bd759 (patch) | |
tree | 1be8e76772679c7da2cb8f5c70d01967f5150921 /userspace/ebtables2/include | |
parent | bfb2c6a07b4eb7b1e40a1d7b5d628b25664d5566 (diff) |
<dwhedon_at_debian.org> use __FUNCTION__ as argument instead of string
constant (deprecated).
Diffstat (limited to 'userspace/ebtables2/include')
-rw-r--r-- | userspace/ebtables2/include/ebtables_u.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/userspace/ebtables2/include/ebtables_u.h b/userspace/ebtables2/include/ebtables_u.h index c1af715..d4b2bc7 100644 --- a/userspace/ebtables2/include/ebtables_u.h +++ b/userspace/ebtables2/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 |