Searched refs:sector0 (Results 1 - 1 of 1) sorted by relevance

/netbsd-current/usr.sbin/fstyp/
H A Dmsdosfs.c57 uint8_t *sector0, *sector; local
59 sector0 = NULL;
63 sector0 = read_buf(fp, 0, 512);
64 if (sector0 == NULL)
68 if (sector0[510] != 0x55 || sector0[511] != 0xaa) {
76 pfat_bsbpb = (FAT_BSBPB *)sector0;
77 pfat32_bsbpb = (FAT32_BSBPB *)sector0;
173 free(sector0);
179 free(sector0);
[all...]

Completed in 78 milliseconds