Searched refs:ckgeom (Results 1 – 1 of 1) sorted by relevance
/external/newfs_msdos/ |
D | mkfs_msdos.c | 236 static int ckgeom(const char *, u_int, const char *); 842 if (ckgeom(fname, bpb->bpbBytesPerSec, "bytes/sector") == -1) return -1; in getdiskinfo() 856 if (ckgeom(fname, bpb->bpbSecPerTrack, "sectors/track") == -1) return -1; in getdiskinfo() 859 if (ckgeom(fname, bpb->bpbHeads, "drive heads") == -1) return -1; in getdiskinfo() 939 if (ckgeom(fname, lp->d_secsize, "bytes/sector") == -1) in getdiskinfo() 944 if (ckgeom(fname, lp->d_nsectors, "sectors/track") == -1) in getdiskinfo() 949 if (ckgeom(fname, lp->d_ntracks, "drive heads") == -1) in getdiskinfo() 996 ckgeom(const char *fname, u_int val, const char *msg) in ckgeom() function
|