summaryrefslogtreecommitdiff
path: root/src/whoami.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/whoami.c')
-rw-r--r--src/whoami.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/whoami.c b/src/whoami.c
index 482f7fbd0..12b2b104d 100644
--- a/src/whoami.c
+++ b/src/whoami.c
@@ -108,7 +108,7 @@ main (int argc, char **argv)
puts (pw->pw_name);
exit (EXIT_SUCCESS);
}
- fprintf (stderr, _("%s: cannot find username for UID %u\n"),
- program_name, (unsigned) uid);
+ fprintf (stderr, _("%s: cannot find username for UID %lu\n"),
+ program_name, (unsigned long int) uid);
exit (EXIT_FAILURE);
}