Assorted format fixes

Types used for pids and uids in various interfaces are unpredictable.
Too bad.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2015-01-22 01:14:52 -05:00
parent 8facc3498e
commit 1fa2f38f0f
37 changed files with 93 additions and 92 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ static int specifier_user_name(char specifier, void *data, void *userdata, char
if (r < 0)
return r;
if (asprintf(&printed, "%d", uid) < 0)
if (asprintf(&printed, UID_FMT, uid) < 0)
return -ENOMEM;
break;
}}