pidref: copy fd id in pidref_copy() too

This commit is contained in:
Lennart Poettering
2025-01-08 14:51:19 +01:00
parent 8e3347f3bd
commit 06744cbb52
2 changed files with 11 additions and 16 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ void pidref_done(PidRef *pidref);
PidRef* pidref_free(PidRef *pidref);
DEFINE_TRIVIAL_CLEANUP_FUNC(PidRef*, pidref_free);
int pidref_copy(const PidRef *pidref, PidRef *dest);
int pidref_copy(const PidRef *pidref, PidRef *ret);
int pidref_dup(const PidRef *pidref, PidRef **ret);
int pidref_new_from_pid(pid_t pid, PidRef **ret);