summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/setuidgid.c4
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;