read_key: fix buffer length calculation
authorTomas Heinrich <heinrich.tomas@gmail.com>
Fri, 16 Apr 2010 21:59:51 +0000 (23:59 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 16 Apr 2010 23:26:08 +0000 (16:26 -0700)
commit0358daf44742385f2eac355cd2605a1993628343
treecd6a94c6ad1d5022aa628dd3786d5cdc6acccf10
parent36dcf4e516baac2aa454badc0686c4212dc997fe
read_key: fix buffer length calculation

Signed-off-by: Tomas Heinrich <heinrich.tomas@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libbb/read_key.c