aboutsummaryrefslogtreecommitdiff
path: root/debug.c
diff options
context:
space:
mode:
authorJuan Cespedes <cespedes@debian.org>2009-04-07 15:33:50 +0200
committerJuan Cespedes <cespedes@debian.org>2009-04-07 15:33:50 +0200
commitda9b953284966b8c52de43713ebb5b503756e468 (patch)
tree9ccf507c40ff259bd43f3e7dce0857c65f9cf4e7 /debug.c
parent375ef8e667be88645f6af6bb099f04471c7f53cd (diff)
downloadltrace-da9b953284966b8c52de43713ebb5b503756e468.tar.gz
More fields to struct "options"
(opt_c, opt_d, opt_A)
Diffstat (limited to 'debug.c')
-rw-r--r--debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug.c b/debug.c
index 4353edc..c31a9a9 100644
--- a/debug.c
+++ b/debug.c
@@ -11,7 +11,7 @@ debug_(int level, const char *file, int line, const char *func,
char buf[1024];
va_list args;
- if (opt_d < level) {
+ if (options.debug < level) {
return;
}
va_start(args, fmt);