diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-03 06:27:33 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-03 06:27:33 +0000 |
commit | 34042b90778108a140815ce16aa50070059aec69 (patch) | |
tree | 51f2b6108d378e8c4d0ed33042c108787a45f1ac /src | |
parent | 3c838e94e50e49354b0178c729e778a5e4d9fc09 (diff) | |
download | coreutils-34042b90778108a140815ce16aa50070059aec69.tar.xz |
(main): Print uids/gids with %lu, not %ld.
Diffstat (limited to 'src')
-rw-r--r-- | src/setuidgid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/setuidgid.c b/src/setuidgid.c index 96f4ef4b0..653642f07 100644 --- a/src/setuidgid.c +++ b/src/setuidgid.c @@ -114,11 +114,11 @@ main (int argc, char **argv) if (setgid (pwd->pw_gid)) error (SETUIDGID_FAILURE, errno, - _("cannot set group-ID to %ld"), (long int) pwd->pw_gid); + _("cannot set group-ID to %lu"), (unsigned long int) pwd->pw_gid); if (setuid (pwd->pw_uid)) error (SETUIDGID_FAILURE, errno, - _("cannot set user-ID to %ld"), (long int) pwd->pw_uid); + _("cannot set user-ID to %lu"), (unsigned long int) pwd->pw_uid); { char **cmd = argv + 2; |