commit | 47d4926244f6a444f812675f4ecff401dba5f8f7 | [log] [tgz] |
---|---|---|
author | Pavel Roskin <proski@gnu.org> | Mon Jul 17 16:17:19 2000 +0000 |
committer | Pavel Roskin <proski@gnu.org> | Mon Jul 17 16:17:19 2000 +0000 |
tree | 3fa51908f6eb9657a2e9696c2fe9c71001129f7e | |
parent | bf181b9338152759fd56c8009e9a962a84808e7c [diff] [blame] |
The result of getopt() is "int" and should be treated as such
diff --git a/util-linux/dmesg.c b/util-linux/dmesg.c index a8c61c7..99d053a 100644 --- a/util-linux/dmesg.c +++ b/util-linux/dmesg.c
@@ -34,7 +34,8 @@ int dmesg_main(int argc, char **argv) { - char *buf, c; + char *buf; + int c; int bufsize = 8196; int i; int n;