freebsd-dev/sbin/badsect
Robert Watson d266903483 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
..
badsect.8 Mechanically kill hard sentence breaks. 2004-07-02 21:45:06 +00:00
badsect.c The badsect(8) utility uses atol(), which doesn't allow very good error 2005-01-03 19:03:40 +00:00
Makefile Remove unused variable to make badsect WARNS=2 clean. 2003-02-22 21:33:42 +00:00