diff options
author | Erik Andersen <andersen@codepoet.org> | 2000-01-07 09:43:38 +0000 |
---|---|---|
committer | Erik Andersen <andersen@codepoet.org> | 2000-01-07 09:43:38 +0000 |
commit | 286b0de74da3cba56b8cc7961a19044eb45969b2 (patch) | |
tree | c33c902699a6bf505f959d2f059b95412bb65a30 /sysklogd | |
parent | d38eaef70bd8e3045992d95057088b65d0fa254f (diff) | |
download | busybox-286b0de74da3cba56b8cc7961a19044eb45969b2.tar.gz |
Trivial type fix.
-Erik
Diffstat (limited to 'sysklogd')
-rw-r--r-- | sysklogd/logger.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sysklogd/logger.c b/sysklogd/logger.c index 5ef622dc3..35bbb6692 100644 --- a/sysklogd/logger.c +++ b/sysklogd/logger.c @@ -151,8 +151,7 @@ extern int logger_main(int argc, char **argv) if (fromStdinFlag==TRUE) { /* read from stdin */ - int i=0; - char c; + int c, i=0; while ((c = getc(stdin)) != EOF && i<sizeof(buf1)) { buf1[i++]=c; } |