Lines Matching refs:errstr
69 const char *errstr;
86 disk.dk_cylinders = strtonum(optarg, 1, 262144, &errstr);
87 if (errstr)
89 errstr);
102 disk.dk_heads = strtonum(optarg, 1, 256, &errstr);
103 if (errstr)
104 errx(1, "Head argument %s [1..256].", errstr);
112 UINT32_MAX, &errstr);
113 if (errstr)
114 errx(1, "Block argument %s [%u..%u].", errstr,
119 disk.dk_sectors = strtonum(optarg, 1, 63, &errstr);
120 if (errstr)
121 errx(1, "Sector argument %s [1..63].", errstr);
215 const char *errstr;
234 blockcount = strtonum(arg, 1, UINT32_MAX, &errstr);
235 if (errstr)
236 errx(1, "Block argument %s [%u..%u].", errstr, 1, UINT32_MAX);
242 blockoffset = strtonum(poffset, 1, UINT32_MAX, &errstr);
243 if (errstr)
244 errx(1, "Block offset argument %s [%u..%u].", errstr, 1,