summaryrefslogtreecommitdiffstats
path: root/include/libipset/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libipset/debug.h')
-rw-r--r--include/libipset/debug.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/libipset/debug.h b/include/libipset/debug.h
index b0f4dfd..b9d5479 100644
--- a/include/libipset/debug.h
+++ b/include/libipset/debug.h
@@ -1,7 +1,7 @@
/* Copyright 2007-2010 Jozsef Kadlecsik (kadlec@blackhole.kfki.hu)
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifndef LIBIPSET_DEBUG_H
@@ -12,7 +12,7 @@
#include <sys/socket.h>
#include <linux/netlink.h>
#define D(fmt, args...) \
- fprintf(stderr, "%s: %s: " fmt "\n", __FILE__, __FUNCTION__ , ## args)
+ fprintf(stderr, "%s: %s: " fmt "\n", __FILE__, __func__ , ## args)
#define IF_D(test, fmt, args...) \
if (test) \
D(fmt , ## args)