diff options
Diffstat (limited to 'src/shared/socket-util.c')
-rw-r--r-- | src/shared/socket-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/socket-util.c b/src/shared/socket-util.c index 6d9c303529..5ef2e2244c 100644 --- 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 */ |