rwatson 26baf13995 The badsect(8) utility uses atol(), which doesn't allow very good error
checking and only recognizes numbers in base 10.  The attached patch
checks errno after strtol() and uses a base of 0 to allow octal, or hex
sector numbers too.

PR:		73112
Submitted by:	keramida
MFC after:	2 weeks
2005-01-03 19:03:40 +00:00
..
2004-07-03 00:13:43 +00:00
2004-12-21 09:59:45 +00:00
2004-12-30 00:53:56 +00:00
2004-07-03 00:13:43 +00:00
2004-10-09 15:56:34 +00:00
2004-07-28 05:59:22 +00:00
2004-12-26 07:00:10 +00:00
2004-05-17 21:05:39 +00:00
2004-12-21 09:59:45 +00:00
2004-02-23 20:25:27 +00:00
2004-02-23 20:25:27 +00:00
2004-02-23 20:25:27 +00:00
2004-02-23 20:25:27 +00:00
2004-02-23 20:25:27 +00:00
2004-07-07 19:57:16 +00:00
2004-12-26 18:06:05 +00:00
2004-09-12 07:06:48 +00:00
2004-12-21 09:59:45 +00:00
2004-02-23 20:25:27 +00:00
2004-12-21 09:59:45 +00:00
2004-05-17 21:24:06 +00:00
2004-12-21 09:59:45 +00:00
2004-12-21 09:59:45 +00:00
2004-12-21 09:59:45 +00:00
2004-10-24 14:25:53 +00:00
2004-11-04 08:29:28 +00:00
2004-12-30 01:48:12 +00:00
2004-12-21 10:49:29 +00:00
2004-12-21 09:59:45 +00:00