artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b5496a
)
Use a size_t when necesary.
author
millert
<millert@openbsd.org>
Sun, 6 Apr 1997 20:16:30 +0000
(20:16 +0000)
committer
millert
<millert@openbsd.org>
Sun, 6 Apr 1997 20:16:30 +0000
(20:16 +0000)
usr.sbin/ipsend/common/sock.c
patch
|
blob
|
history
diff --git
a/usr.sbin/ipsend/common/sock.c
b/usr.sbin/ipsend/common/sock.c
index
70c2e39
..
736f616
100644
(file)
--- a/
usr.sbin/ipsend/common/sock.c
+++ b/
usr.sbin/ipsend/common/sock.c
@@
-217,7
+217,8
@@
struct kinfo_proc *getproc()
{
static struct kinfo_proc kp;
pid_t pid = getpid();
- int siz, n, mib[4];
+ int mib[4];
+ size_t n;
mib[0] = CTL_KERN;
mib[1] = KERN_PROC;