summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-03-31 19:50:30 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-03-31 19:50:30 -0400
commit7989e1f2d79891ff73dea0ede1c98c47b62547db (patch)
tree136628bc29d3a058ca2ed3ff7c7647e8eee84479 /src/shared
parentcc1f918dda4193c7fd2a03de4ab715be67017a36 (diff)
Partially revert e62d8c394474
The ~80 chars per line part wasn't well received.
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/ask-password-api.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/shared/ask-password-api.c b/src/shared/ask-password-api.c
index d091a22dea..85530660dc 100644
--- a/src/shared/ask-password-api.c
+++ b/src/shared/ask-password-api.c
@@ -263,8 +263,7 @@ static int create_socket(char **name) {
zero(sa);
sa.un.sun_family = AF_UNIX;
- snprintf(sa.un.sun_path, sizeof(sa.un.sun_path)-1,
- "/run/systemd/ask-password/sck.%llu", random_ull());
+ snprintf(sa.un.sun_path, sizeof(sa.un.sun_path)-1, "/run/systemd/ask-password/sck.%llu", random_ull());
u = umask(0177);
r = bind(fd, &sa.sa, offsetof(struct sockaddr_un, sun_path) + strlen(sa.un.sun_path));