Improve getprop mem dump
commit519518b557f412557ec1d78e566dd91c9c101763
authorblueswirl <blueswirl@f158a5a8-5612-0410-a976-696ce0be7e32>
Sat, 9 Oct 2010 10:16:29 +0000 (9 10:16 +0000)
committerblueswirl <blueswirl@f158a5a8-5612-0410-a976-696ce0be7e32>
Sat, 9 Oct 2010 10:16:29 +0000 (9 10:16 +0000)
tree0fcb84b84c987e1ccebce0fb0c538ba544b867bd
parente3b36a529c9d1ee264c1437136dfdab827bcc5bd
Improve getprop mem dump

Currently the whole buffer supplied by the client is traced.
AIX uses buffer sizes such as 64, 256, 1024 on properties that might
not exist or contain 1 or 8 bytes.

Limit the output to the amount of data actually written into the buffer.

Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
git-svn-id: svn://openbios.org/openbios/trunk/openbios-devel@893 f158a5a8-5612-0410-a976-696ce0be7e32
libopenbios/client.c