summaryrefslogtreecommitdiff
path: root/dmesg.c
diff options
context:
space:
mode:
Diffstat (limited to 'dmesg.c')
-rw-r--r--dmesg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dmesg.c b/dmesg.c
index a8c61c7..99d053a 100644
--- a/dmesg.c
+++ b/dmesg.c
@@ -34,7 +34,8 @@ static inline _syscall3(int, klogctl, int, type, char *, b, int, len);
int dmesg_main(int argc, char **argv)
{
- char *buf, c;
+ char *buf;
+ int c;
int bufsize = 8196;
int i;
int n;