aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorproski <proski@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-17 16:17:19 +0000
committerproski <proski@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-17 16:17:19 +0000
commit05cb9204f17116bccc51f72ee0f3b77552632023 (patch)
tree3fa51908f6eb9657a2e9696c2fe9c71001129f7e /util-linux
parentd353f773bab8c0f92e149a74400aa31b57da9d05 (diff)
downloadbusybox-w32-05cb9204f17116bccc51f72ee0f3b77552632023.tar.gz
busybox-w32-05cb9204f17116bccc51f72ee0f3b77552632023.tar.bz2
busybox-w32-05cb9204f17116bccc51f72ee0f3b77552632023.zip
The result of getopt() is "int" and should be treated as such
git-svn-id: svn://busybox.net/trunk/busybox@865 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/dmesg.c3
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);
34 34
35int dmesg_main(int argc, char **argv) 35int dmesg_main(int argc, char **argv)
36{ 36{
37 char *buf, c; 37 char *buf;
38 int c;
38 int bufsize = 8196; 39 int bufsize = 8196;
39 int i; 40 int i;
40 int n; 41 int n;