#ifndef lint
static const char rcsid[] =
- "$Id: symtab.c,v 1.27 2005/07/07 09:16:08 stelian Exp $";
+ "$Id: symtab.c,v 1.28 2010/06/11 11:19:17 stelian Exp $";
#endif /* not lint */
/*
for (i = WINO; i <= maxino; i++) {
for (ep = lookupino(i); ep != NULL; ep = ep->e_links) {
ep->e_index = mynum++;
- (void) fwrite(ep->e_name, sizeof(char),
- (int)allocsize(ep->e_namlen), fd);
+ (void) fwrite(ep->e_name, (int)allocsize(ep->e_namlen),
+ sizeof(char), fd);
}
}
/*
if (temphash[j])
temphash[j] = (struct entry *)ep->e_entries[j]->e_index;
}
- fwrite(temphash, dirhash_size, sizeof(struct entry *), fd);
+ fwrite(temphash, sizeof(struct entry *), dirhash_size, fd);
}
}
}