chiark / gitweb /
Revert "socket: add support for TCP fast Open"
[elogind.git] / src / test / test-cgroup-util.c
index b37468b70e80cff74914aa806aca292640026b83..fda8bcc5c5f023641074daa18e15f7769c0bb836 100644 (file)
@@ -162,11 +162,11 @@ static void test_proc(void) {
                 cg_pid_get_machine_name(pid, &machine);
                 cg_pid_get_slice(pid, &slice);
 
-                printf("%lu\t%s\t%s\t%lu\t%s\t%s\t%s\t%s\t%s\n",
-                       (unsigned long) pid,
+                printf(PID_FMT"\t%s\t%s\t"UID_FMT"\t%s\t%s\t%s\t%s\t%s\n",
+                       pid,
                        path,
                        path_shifted,
-                       (unsigned long) uid,
+                       uid,
                        session,
                        unit,
                        user_unit,