diff options
author | billf <billf@FreeBSD.org> | 1999-09-06 20:07:12 +0000 |
---|---|---|
committer | billf <billf@FreeBSD.org> | 1999-09-06 20:07:12 +0000 |
commit | b6f51580165db34549763273b76c1fdbd8fd12e4 (patch) | |
tree | 3bfb7cc89ba51a648aac976cef9c4368255d37af /usr.bin | |
parent | 9a26a2aefb59507f8bd8e78dc6df37d8c4623cbb (diff) | |
download | FreeBSD-src-b6f51580165db34549763273b76c1fdbd8fd12e4.zip FreeBSD-src-b6f51580165db34549763273b76c1fdbd8fd12e4.tar.gz |
Cast pw_change and pw_expire to long and fix the format specifier accordingly.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/id/id.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/id/id.c b/usr.bin/id/id.c index 236d369..821d701 100644 --- a/usr.bin/id/id.c +++ b/usr.bin/id/id.c @@ -336,9 +336,9 @@ pline(pw) err(1, "getpwuid"); } - (void)printf("%s:%s:%d:%d:%s:%d:%d:%s:%s:%s\n", pw->pw_name, + (void)printf("%s:%s:%d:%d:%s:%ld:%ld:%s:%s:%s\n", pw->pw_name, pw->pw_passwd, pw->pw_uid, pw->pw_gid, pw->pw_class, - pw->pw_change, pw->pw_expire, pw->pw_gecos, + (long)pw->pw_change, (long)pw->pw_expire, pw->pw_gecos, pw->pw_dir, pw->pw_shell); } |