diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-02-24 13:36:01 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-02-24 13:36:01 +0000 |
commit | 400d8bb45ee25ce226bb343a3dfaab84e6d3a8e1 (patch) | |
tree | aa3cdc9a663f1ac2467803fc215899d86ed1db74 /miscutils/rx.c | |
parent | d553faf5a53cf9d72e16fc789451a92a797f1b70 (diff) | |
download | busybox-w32-400d8bb45ee25ce226bb343a3dfaab84e6d3a8e1.tar.gz busybox-w32-400d8bb45ee25ce226bb343a3dfaab84e6d3a8e1.tar.bz2 busybox-w32-400d8bb45ee25ce226bb343a3dfaab84e6d3a8e1.zip |
less,klogd,syslogd,nc,tcpudp: exit on signal by killing itself, not exit(1)
*: minor shrink
Diffstat (limited to 'miscutils/rx.c')
-rw-r--r-- | miscutils/rx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/rx.c b/miscutils/rx.c index 898703c59..8ccea4974 100644 --- a/miscutils/rx.c +++ b/miscutils/rx.c | |||
@@ -43,7 +43,7 @@ Cf: | |||
43 | #define TIMEOUT_LONG 10 | 43 | #define TIMEOUT_LONG 10 |
44 | #define MAXERRORS 10 | 44 | #define MAXERRORS 10 |
45 | 45 | ||
46 | static int read_byte(int fd, unsigned int timeout) | 46 | static int read_byte(int fd, unsigned timeout) |
47 | { | 47 | { |
48 | char buf[1]; | 48 | char buf[1]; |
49 | int n; | 49 | int n; |