aboutsummaryrefslogtreecommitdiff
path: root/toys/dmesg.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/dmesg.c')
-rw-r--r--toys/dmesg.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/toys/dmesg.c b/toys/dmesg.c
index a02de5a4..95b023d6 100644
--- a/toys/dmesg.c
+++ b/toys/dmesg.c
@@ -24,7 +24,12 @@ config DMESG
#include "toys.h"
#include <sys/klog.h>
-#define TT toy.dmesg
+DEFINE_GLOBALS(
+ long level;
+ long size;
+)
+
+#define TT this.dmesg
void dmesg_main(void)
{