freebsd-dev/sbin/ffsinfo
Robert Watson 7bb84191e6 The ffsinfo utility uses atol() to parse numeric values out of optarg
strings.  This isn't necessarily a bug, but it can be slightly inconvenient,
because atol() doesn't know how to parse hexadecimal or octal numbers and at
least one of the options of ffsinfo(8) would be easier to use if it did.

Changing atol() -> strtol() allows one to use hex masks for -l MASK, i.e.:

orion:/a/freebsd/src/sbin/ffsinfo# ./ffsinfo -l 0x3ff /

PR:		73110
Submitted by:	keramida
MFC after:	2 weeks
2005-01-03 18:59:04 +00:00
..
ffsinfo.8 Clarify behaviour of ffsinfo: It appends to outfile without 2004-01-23 05:13:22 +00:00
ffsinfo.c The ffsinfo utility uses atol() to parse numeric values out of optarg 2005-01-03 18:59:04 +00:00
Makefile Remove these MAINTAINER lines since the maintainers has had their 2004-04-01 20:31:49 +00:00