summaryrefslogtreecommitdiff
path: root/src/metastore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/metastore.c')
-rw-r--r--src/metastore.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/metastore.c b/src/metastore.c
index 4ac2654..56fc655 100644
--- a/src/metastore.c
+++ b/src/metastore.c
@@ -91,7 +91,7 @@ static void
compare_print(struct metaentry *real, struct metaentry *stored, int cmp)
{
if (!real && !stored) {
- msg(MSG_ERROR, "%s called with incorrect arguments\n", __FUNCTION__);
+ msg(MSG_ERROR, "%s called with incorrect arguments\n", __func__);
return;
}
@@ -136,8 +136,7 @@ compare_fix(struct metaentry *real, struct metaentry *stored, int cmp)
unsigned i;
if (!real && !stored) {
- msg(MSG_ERROR, "%s called with incorrect arguments\n",
- __FUNCTION__);
+ msg(MSG_ERROR, "%s called with incorrect arguments\n", __func__);
return;
}