Partially revert e62d8c3944

The ~80 chars per line part wasn't well received.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2013-03-31 19:50:30 -04:00
parent cc1f918dda
commit 7989e1f2d7
4 changed files with 8 additions and 17 deletions
+1 -2
View File
@@ -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));