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.
This commit is contained in:
Warner Losh 2008-11-20 08:32:19 +00:00
parent 6b88fc62e1
commit 2d875dc571

View File

@ -34,17 +34,17 @@ static void
scanfile(char *name) scanfile(char *name)
{ {
int fd; int fd;
struct cis *cp; struct tuple_list *tl;
fd = open(name, O_RDONLY); fd = open(name, O_RDONLY);
if (fd < 0) if (fd < 0)
return; return;
cp = readcis(fd); tl = readcis(fd);
if (cp) { if (tl) {
printf("Configuration data for file %s\n", printf("Configuration data for file %s\n",
name); name);
dumpcis(cp); dumpcis(tl);
freecis(cp); freecis(tl);
} }
close(fd); close(fd);
} }