Whamcloud - gitweb
debugfs: Fix error handling in strtoblk() and common_block_args_process()
authorTheodore Ts'o <tytso@mit.edu>
Mon, 18 Feb 2008 14:55:04 +0000 (09:55 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 18 Feb 2008 20:27:04 +0000 (15:27 -0500)
commitd8d12558dc24e32f489dc471ba19f25273edce7c
tree3ef95928192d975043d5b6804ab282b587673756
parentbbf54adb034dbf589d40c4b28c9bb7fe492b87ed
debugfs: Fix error handling in strtoblk() and common_block_args_process()

Fix strtoblk() to allow a block number 0, and
common_block_args_process() so it prints an error message if a block
number that can't be parsed by strtoul().

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
debugfs/util.c