summaryrefslogtreecommitdiff
path: root/lib/cache_mngt.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cache_mngt.c')
-rw-r--r--lib/cache_mngt.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/cache_mngt.c b/lib/cache_mngt.c
index 8f011fb..914ab9b 100644
--- a/lib/cache_mngt.c
+++ b/lib/cache_mngt.c
@@ -404,10 +404,10 @@ struct nl_cache *nl_cache_mngt_require(const char *name)
struct nl_cache *cache;
if (!(cache = __nl_cache_mngt_require(name)))
- fprintf(stderr, "Application BUG: Your application must "
- "call nl_cache_mngt_provide() and\nprovide a valid "
- "%s cache to be used for internal lookups.\nSee the "
- " API documentation for more details.\n", name);
+ NL_DBG(1, "Application BUG: Your application must "
+ "call nl_cache_mngt_provide() and\nprovide a valid "
+ "%s cache to be used for internal lookups.\nSee the "
+ " API documentation for more details.\n", name);
return cache;
}