aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2025-02-05 21:47:46 +0100
committerMattias Andrée <m@maandree.se>2025-02-05 21:47:46 +0100
commit9630fd13d91a33317ab1c6c4f814017671349bc7 (patch)
treed3dce3f9586326097142cf064a1f32b6fbbbdab3
parentBegin implementation of radharc-ipc (diff)
downloadradharc-9630fd13d91a33317ab1c6c4f814017671349bc7.tar.gz
radharc-9630fd13d91a33317ab1c6c4f814017671349bc7.tar.bz2
radharc-9630fd13d91a33317ab1c6c4f814017671349bc7.tar.xz
Signed-off-by: Mattias Andrée <m@maandree.se>
-rw-r--r--radharc-ipc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/radharc-ipc.c b/radharc-ipc.c
index e246375..83f436f 100644
--- a/radharc-ipc.c
+++ b/radharc-ipc.c
@@ -83,6 +83,7 @@ main(int argc, char *argv[])
if (*arg == '&') {
if (num > (uintmax_t)INT_MAX)
usage();
+ /* TODO whoops, this should be send with that fd, not to it */
addresses[i] = malloc(sizeof("/proc/self/fd/") + strlen(&arg[1]));
if (!addresses[i])
goto fail;