chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nspawn: make sure /dev/kdbus in the container is world accessible
[elogind.git]
/
src
/
shared
/
ask-password-api.c
diff --git
a/src/shared/ask-password-api.c
b/src/shared/ask-password-api.c
index 4557155d45fc36a11afbbf2b75b373112372a7eb..755abf0b5e4c37279babfefe5aa4b6e1f2613946 100644
(file)
--- a/
src/shared/ask-password-api.c
+++ b/
src/shared/ask-password-api.c
@@
-250,7
+250,8
@@
static int create_socket(char **name) {
} sa = {
.un.sun_family = AF_UNIX,
};
- int one = 1, r;
+ int one = 1;
+ int r = 0;
char *c;
assert(name);