summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-06-23 09:23:13 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-06-23 09:23:13 +0000
commita79e6f37794a9d6ca4c52553315475c4db0a8571 (patch)
tree3730f14198318e231d6cb550fbde725768509e87 /usr.bin
parent80e69683a3ed58d82ea663e8bda8ed15cf8d13fd (diff)
long != int
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/su/su.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/su/su.c b/usr.bin/su/su.c
index cc02c406ec9..e4972cc0584 100644
--- a/usr.bin/su/su.c
+++ b/usr.bin/su/su.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: su.c,v 1.26 1997/06/22 23:03:10 deraadt Exp $ */
+/* $OpenBSD: su.c,v 1.27 1997/06/23 09:23:12 deraadt Exp $ */
/*
* Copyright (c) 1988 The Regents of the University of California.
@@ -41,7 +41,7 @@ char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)su.c 5.26 (Berkeley) 7/6/91";*/
-static char rcsid[] = "$OpenBSD: su.c,v 1.26 1997/06/22 23:03:10 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: su.c,v 1.27 1997/06/23 09:23:12 deraadt Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -332,7 +332,7 @@ kerberos(username, user, uid)
struct hostent *hp;
register char *p;
int kerno;
- u_long faddr;
+ in_addr_t faddr;
char lrealm[REALM_SZ], krbtkfile[MAXPATHLEN];
char hostname[MAXHOSTNAMELEN], savehost[MAXHOSTNAMELEN];
char *ontty(), *krb_get_phost();