Denis Vlasenko 2e7dc5d37b klogctl: fix a problem where we don't terminate read data with '\0'
and then misinterpret it. Code shrink while at it.

function                                             old     new   delta
klogd_main                                           404     362     -42
2008-11-19 07:59:49 +00:00
..
2008-06-11 15:43:19 +00:00
2008-06-11 15:43:19 +00:00
2008-07-05 09:18:54 +00:00
2008-10-29 01:19:15 +00:00