summaryrefslogtreecommitdiffstats
path: root/usr.sbin/dumpcis
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2008-11-20 08:32:19 +0000
committerimp <imp@FreeBSD.org>2008-11-20 08:32:19 +0000
commit2882e54294659817c1c1b78fb54b09ef21325d63 (patch)
tree1ace465f59578dee0bf9e3a43e1c857c8f77de1a /usr.sbin/dumpcis
parent3fc228404f696955219dea785e9702e1db65af06 (diff)
downloadFreeBSD-src-2882e54294659817c1c1b78fb54b09ef21325d63.zip
FreeBSD-src-2882e54294659817c1c1b78fb54b09ef21325d63.tar.gz
damn. Always do make depend. Forgot to recompile main because of it,
so the changes for the struct cis -> struct tuple_list didn't get made. They have been now.
Diffstat (limited to 'usr.sbin/dumpcis')
-rw-r--r--usr.sbin/dumpcis/main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/dumpcis/main.c b/usr.sbin/dumpcis/main.c
index 291f777..2e66506 100644
--- a/usr.sbin/dumpcis/main.c
+++ b/usr.sbin/dumpcis/main.c
@@ -34,17 +34,17 @@ static void
scanfile(char *name)
{
int fd;
- struct cis *cp;
+ struct tuple_list *tl;
fd = open(name, O_RDONLY);
if (fd < 0)
return;
- cp = readcis(fd);
- if (cp) {
+ tl = readcis(fd);
+ if (tl) {
printf("Configuration data for file %s\n",
name);
- dumpcis(cp);
- freecis(cp);
+ dumpcis(tl);
+ freecis(tl);
}
close(fd);
}
OpenPOWER on IntegriCloud