summaryrefslogtreecommitdiffstats
path: root/src/fastd.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-04-01 22:47:55 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-04-01 22:47:55 +0200
commite0a3556742a81e6cb6e72590b2696ea39e9872ea (patch)
treed5d16e2f914aa30390558924985339ffe8ec83b7 /src/fastd.h
parent350353d2c1282b2802bba83f49a3508b3beeb24a (diff)
downloadfastd-e0a3556742a81e6cb6e72590b2696ea39e9872ea.tar
fastd-e0a3556742a81e6cb6e72590b2696ea39e9872ea.zip
Add log level configuration
Diffstat (limited to 'src/fastd.h')
-rw-r--r--src/fastd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fastd.h b/src/fastd.h
index 8e63884..e48929d 100644
--- a/src/fastd.h
+++ b/src/fastd.h
@@ -158,7 +158,7 @@ static inline int fastd_rand(fastd_context *ctx, int min, int max) {
#define pr_error(ctx, args...) pr_log(ctx, LOG_ERROR, "Error: ", args)
#define pr_warn(ctx, args...) pr_log(ctx, LOG_WARN, "Warning: ", args)
#define pr_info(ctx, args...) pr_log(ctx, LOG_INFO, "Info: ", args)
-#define pr_verbose(ctx, args...) pr_log(ctx, LOG_INFO, "Verbose: ", args)
+#define pr_verbose(ctx, args...) pr_log(ctx, LOG_VERBOSE, "Verbose: ", args)
#define pr_debug(ctx, args...) pr_log(ctx, LOG_DEBUG, "DEBUG: ", args)
#define warn_errno(ctx, message) pr_warn(ctx, "%s: %s", message, strerror(errno))