]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(main): Print uids using unsigned long int, not unsigned int.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 3 Aug 2004 23:38:40 +0000 (23:38 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 3 Aug 2004 23:38:40 +0000 (23:38 +0000)
src/whoami.c

index 482f7fbd002d1116a13484de9f562182197c9d66..12b2b104d250802d5e1181cfc24af672fdeff1e5 100644 (file)
@@ -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);
 }