diff options
author | Colin Ian King <[email protected]> | 2014-03-10 15:49:50 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2014-03-10 17:26:21 -0700 |
commit | 53942232369ec317f77dc8c2d5a0637bb85a6e84 (patch) | |
tree | b07f0c80c30d502118dedd8adce61c0d63dda669 /lib/mpi/mpi-cmp.c | |
parent | 1443176fd6857744d6772e6a607d7d08f0f6afd9 (diff) |
tools/testing/selftests/ipc/msgque.c: handle msgget failure return correctly
A failed msgget causes the test to return an uninitialised value in ret.
Assign ret to -errno on error exit.
Signed-off-by: Colin Ian King <[email protected]>
Acked-by: Davidlohr Bueso <[email protected]>
Cc: Stanislav Kinsbursky <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions