aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/chpass
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1998-10-17 14:08:12 +0000
committerBruce Evans <bde@FreeBSD.org>1998-10-17 14:08:12 +0000
commit06cc787d3e63812213196d1cb84a7113d71dabc2 (patch)
tree0f909989074f0080304a1f75e9053d63b504ef6c /usr.bin/chpass
parentfa63310f9917aece0bfe7b35a188a25bed954be0 (diff)
Notes
Diffstat (limited to 'usr.bin/chpass')
-rw-r--r--usr.bin/chpass/pw_yp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/chpass/pw_yp.c b/usr.bin/chpass/pw_yp.c
index 777ec54d4633a..57542704392a9 100644
--- a/usr.bin/chpass/pw_yp.c
+++ b/usr.bin/chpass/pw_yp.c
@@ -35,7 +35,7 @@
* Center for Telecommunications Research
* Columbia University, New York City
*
- * $Id: pw_yp.c,v 1.11 1997/07/29 15:45:36 wpaul Exp $
+ * $Id: pw_yp.c,v 1.12 1997/12/18 15:27:43 bde Exp $
*/
#ifdef YP
@@ -254,7 +254,7 @@ int use_yp (user, uid, which)
char ubuf[UT_NAMESIZE + 2];
if (which) {
- snprintf(ubuf, sizeof(ubuf), "%lu", uid);
+ snprintf(ubuf, sizeof(ubuf), "%lu", (unsigned long)uid);
user = (char *)&ubuf;
}