chiark / gitweb /
Partially revert e62d8c394474
[elogind.git] / src / shared / ask-password-api.c
index d091a22deafcccc04830c4954f9ba79cda65574f..85530660dcdeeb949ad5e5bb87846497a8b7c57e 100644 (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));