diff options
author | Pavel Roskin <proski@gnu.org> | 2000-07-17 20:17:19 +0400 |
---|---|---|
committer | Pavel Roskin <proski@gnu.org> | 2000-07-17 20:17:19 +0400 |
commit | 47d4926244f6a444f812675f4ecff401dba5f8f7 (patch) | |
tree | 3fa51908f6eb9657a2e9696c2fe9c71001129f7e /util-linux/dmesg.c | |
parent | bf181b9338152759fd56c8009e9a962a84808e7c (diff) |
The result of getopt() is "int" and should be treated as such
Diffstat (limited to 'util-linux/dmesg.c')
-rw-r--r-- | util-linux/dmesg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util-linux/dmesg.c b/util-linux/dmesg.c index a8c61c7b4..99d053a72 100644 --- a/util-linux/dmesg.c +++ b/util-linux/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; |