summaryrefslogtreecommitdiffstats
path: root/src/authdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/authdb.c')
-rw-r--r--src/authdb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/authdb.c b/src/authdb.c
index b9d38c8..a329d8b 100644
--- a/src/authdb.c
+++ b/src/authdb.c
@@ -319,8 +319,7 @@ static inline uint64_t to_category(struct sqdb *db, blob_t c)
if (category >= 0)
return 1ULL << category;
- fprintf(stderr, "WARNING: unknown category '%.*s'\n",
- c.len, c.ptr);
+ report_warning("Unknown category '%.*s'\n", c.len, c.ptr);
return 0;
}