Attached patch fixes possible buffer oveflow in sem_getvalue tests (the buffer
overflow happens when getpid() returns number that couldn't fit into buffer)
and also cleans coding style.

Signed-off-by: Cyril Hrubis chrubis@suse.cz
Acked-by: Garrett Cooper <yanegomi@gmail.com>

Signed-off-by: Rishikesh K Rajak <risrajak@linux.vnet.ibm.com>
5 files changed