diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-05-26 09:25:23 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-05-26 09:25:23 +0000 |
commit | 6aa6edb00aa211e3677bbe83a79f77a698463a78 (patch) | |
tree | 0d78960a0fcda70c8880a741fb843e94c28a0bb5 /usr.sbin/pppd/ipxcp.c | |
parent | c300dc80ea9a11b57eb166b83bf23af534af067f (diff) |
pid_t cleanup
Diffstat (limited to 'usr.sbin/pppd/ipxcp.c')
-rw-r--r-- | usr.sbin/pppd/ipxcp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pppd/ipxcp.c b/usr.sbin/pppd/ipxcp.c index a5fc1b7b3fa..634c363f64c 100644 --- a/usr.sbin/pppd/ipxcp.c +++ b/usr.sbin/pppd/ipxcp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ipxcp.c,v 1.7 2002/02/17 19:42:38 millert Exp $ */ +/* $OpenBSD: ipxcp.c,v 1.8 2002/05/26 09:25:21 deraadt Exp $ */ /* * ipxcp.c - PPP IPX Control Protocol. @@ -24,7 +24,7 @@ #if 0 static char rcsid[] = "Id: ipxcp.c,v 1.6 1998/03/25 03:08:16 paulus Exp $"; #else -static char rcsid[] = "$OpenBSD: ipxcp.c,v 1.7 2002/02/17 19:42:38 millert Exp $"; +static char rcsid[] = "$OpenBSD: ipxcp.c,v 1.8 2002/05/26 09:25:21 deraadt Exp $"; #endif #endif @@ -1215,7 +1215,7 @@ ipxcp_script(f, script) char strnetwork[32], strpid[32]; char *argv[14], strproto_lcl[32], strproto_rmt[32]; - sprintf (strpid, "%d", getpid()); + sprintf (strpid, "%ld", (long)getpid()); sprintf (strspeed, "%d", baud_rate); strproto_lcl[0] = '\0'; |