projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0bc1e8
)
test: initialize _cleanup_ variables
author
Luca Boccassi
<bluca@debian.org>
Fri, 19 Apr 2024 00:04:35 +0000
(
01:04
+0100)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Fri, 19 Apr 2024 01:26:43 +0000
(10:26 +0900)
Missed one in a previous PR.
Follow-up for
e5689f04dd3d57a4e680ab88c643fa971eb0afc2
src/test/test-socket-util.c
patch
|
blob
|
history
diff --git
a/src/test/test-socket-util.c
b/src/test/test-socket-util.c
index bcb3dfd05586afcc48ad7e526baac0f142bf43e1..e34aa10e10d78e282ca5759a03e7dfd5a87b70c9 100644
(file)
--- a/
src/test/test-socket-util.c
+++ b/
src/test/test-socket-util.c
@@
-290,7
+290,7
@@
TEST(passfd_contents_read) {
/* Parent */
char buf[64];
struct iovec iov = IOVEC_MAKE(buf, sizeof(buf)-1);
- _cleanup_close_ int fd;
+ _cleanup_close_ int fd
= -EBADF
;
ssize_t k;
pair[1] = safe_close(pair[1]);