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 /sbin/routed/table.c | |
parent | c300dc80ea9a11b57eb166b83bf23af534af067f (diff) |
pid_t cleanup
Diffstat (limited to 'sbin/routed/table.c')
-rw-r--r-- | sbin/routed/table.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/routed/table.c b/sbin/routed/table.c index 2aefbbc9ea7..584ff692e12 100644 --- a/sbin/routed/table.c +++ b/sbin/routed/table.c @@ -1,4 +1,4 @@ -/* $OpenBSD: table.c,v 1.7 2002/03/14 16:44:24 mpech Exp $ */ +/* $OpenBSD: table.c,v 1.8 2002/05/26 09:24:35 deraadt Exp $ */ /* * Copyright (c) 1983, 1988, 1993 @@ -1091,7 +1091,7 @@ read_rt(void) strcpy(str, rtm_type_name(m.r.rtm.rtm_type)); strp = &str[strlen(str)]; if (m.r.rtm.rtm_type <= RTM_CHANGE) - strp += sprintf(strp," from pid %d",m.r.rtm.rtm_pid); + strp += sprintf(strp," from pid %ld", (long)m.r.rtm.rtm_pid); rt_xaddrs(&info, m.r.addrs, &m.r.addrs[RTAX_MAX], m.r.rtm.rtm_addrs); |