diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2004-01-26 10:27:18 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2004-01-26 10:27:18 +0000 |
commit | 723c1c2ee877347697efcbdb5667908b47e60514 (patch) | |
tree | 19c1d148874db0b1a5c18f726c2a1fc177e69dc5 /usr.sbin/ngctl/dot.c | |
parent | 68b7b3a961632847e8a57189e40437ec2127189b (diff) | |
download | src-723c1c2ee877347697efcbdb5667908b47e60514.tar.gz src-723c1c2ee877347697efcbdb5667908b47e60514.zip |
Notes
Diffstat (limited to 'usr.sbin/ngctl/dot.c')
-rw-r--r-- | usr.sbin/ngctl/dot.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ngctl/dot.c b/usr.sbin/ngctl/dot.c index bd6d39c62cd9..42969be69f83 100644 --- a/usr.sbin/ngctl/dot.c +++ b/usr.sbin/ngctl/dot.c @@ -61,7 +61,8 @@ DotCmd(int ac, char **av) struct ng_mesg *const nlresp = (struct ng_mesg *)nlrbuf; struct namelist *const nlist = (struct namelist *)nlresp->data; FILE *f = stdout; - int ch, i; + int ch; + u_int i; /* Get options */ optind = 1; @@ -129,7 +130,7 @@ DotCmd(int ac, char **av) struct hooklist *const hlist = (struct hooklist *)hlresp->data; struct nodeinfo *const ninfo = &hlist->nodeinfo; char path[NG_PATHSIZ]; - int j; + u_int j; (void)snprintf(path, sizeof(path), "[%jx]:", (uintmax_t)nlist->nodeinfo[i].id); |