chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sd-event: allow disabling event sources when an event object is dying anyway
[elogind.git]
/
src
/
shared
/
socket-util.c
diff --git
a/src/shared/socket-util.c
b/src/shared/socket-util.c
index 6d9c30352964644e85eb5bc0e66c8cb22923ae47..5ef2e2244c0406874fd8b7cbdd067a610c853fb2 100644
(file)
--- a/
src/shared/socket-util.c
+++ b/
src/shared/socket-util.c
@@
-585,7
+585,7
@@
int getpeername_pretty(int fd, char **ret) {
return -errno;
if (sa.sa.sa_family == AF_UNIX) {
- struct ucred ucred;
+ struct ucred ucred
= {}
;
/* UNIX connection sockets are anonymous, so let's use
* PID/UID as pretty credentials instead */