1.1 --- a/libipc/lib/src/util_ipc.c Mon Dec 11 17:26:53 2023 +0100
1.2 +++ b/libipc/lib/src/util_ipc.c Mon Dec 11 19:17:25 2023 +0100
1.3 @@ -1,7 +1,7 @@
1.4 /*
1.5 * Interprocess communication abstractions.
1.6 *
1.7 - * Copyright (C) 2018, 2019, 2021, 2022 Paul Boddie <paul@boddie.org.uk>
1.8 + * Copyright (C) 2018, 2019, 2021, 2022, 2023 Paul Boddie <paul@boddie.org.uk>
1.9 *
1.10 * This program is free software; you can redistribute it and/or
1.11 * modify it under the terms of the GNU General Public License as
1.12 @@ -154,10 +154,10 @@
1.13 *local = 1;
1.14 }
1.15
1.16 - /* Unsupported item. */
1.17 + /* Unsupported item which may legitimately be an invalid capability. */
1.18
1.19 else
1.20 - return -L4_EIO;
1.21 + *ref = L4_INVALID_CAP;
1.22
1.23 return L4_EOK;
1.24 }