diff options
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/util.c b/ipc/util.c index b99038699fee..be4230020a1f 100644 --- a/ipc/util.c +++ b/ipc/util.c | |||
@@ -622,7 +622,7 @@ struct kern_ipc_perm *ipc_obtain_object_check(struct ipc_ids *ids, int id) | |||
622 | goto out; | 622 | goto out; |
623 | 623 | ||
624 | if (ipc_checkid(out, id)) | 624 | if (ipc_checkid(out, id)) |
625 | return ERR_PTR(-EIDRM); | 625 | return ERR_PTR(-EINVAL); |
626 | out: | 626 | out: |
627 | return out; | 627 | return out; |
628 | } | 628 | } |