chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
util: fix a gcc compiler warning
[elogind.git]
/
src
/
shared
/
util.c
diff --git
a/src/shared/util.c
b/src/shared/util.c
index 0cc51e0962607fbdc36bf32e851836415c68401e..c18d31dfcf96fd10439a6d838ba321589f36f843 100644
(file)
--- a/
src/shared/util.c
+++ b/
src/shared/util.c
@@
-6093,7
+6093,7
@@
int container_get_leader(const char *machine, pid_t *pid) {
int namespace_open(pid_t pid, int *pidns_fd, int *mntns_fd, int *netns_fd, int *root_fd) {
_cleanup_close_ int pidnsfd = -1, mntnsfd = -1, netnsfd = -1;
- int rfd;
+ int rfd
= -1
;
assert(pid >= 0);