chiark / gitweb /
Remove unnecessary casts in printfs
[elogind.git] / src / libsystemd / sd-bus / bus-socket.c
index 2e8f008be47d2b6b40dccfef91bb6592ee12d501..d124d9aa1367902ecd72021d112deefe1793da54 100644 (file)
@@ -648,7 +648,7 @@ static int bus_socket_start_auth_client(sd_bus *b) {
 
                 auth_prefix = "\0AUTH EXTERNAL ";
 
-                snprintf(text, sizeof(text), "%lu", (unsigned long) geteuid());
+                snprintf(text, sizeof(text), UID_FMT, geteuid());
                 char_array_0(text);
 
                 l = strlen(text);