diff options
author | Davidlohr Bueso | 2011-09-14 19:02:15 +0200 |
---|---|---|
committer | Sami Kerola | 2011-09-17 15:07:52 +0200 |
commit | 7678c735b200d80b888810f4a72a31a51425b8eb (patch) | |
tree | 9e349f6c10e983e963b1a089fe0327c6641725a6 /sys-utils/ipcs.c | |
parent | ipcrm: add --verbose option (diff) | |
download | kernel-qcow2-util-linux-7678c735b200d80b888810f4a72a31a51425b8eb.tar.gz kernel-qcow2-util-linux-7678c735b200d80b888810f4a72a31a51425b8eb.tar.xz kernel-qcow2-util-linux-7678c735b200d80b888810f4a72a31a51425b8eb.zip |
ipcrm: check IPC syscalls
It's not enough to check errno for errors as the variable is not
reset, we also need to check the last syscall return value to
verify a problem. This addresses bogus msgqueue errors when
deleting keys.
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'sys-utils/ipcs.c')
0 files changed, 0 insertions, 0 deletions