commit | d4be9fad6eb65752a623521f9b66b5c30831a3a1 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Mon Oct 22 10:19:20 2007 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Mon Oct 22 18:05:32 2007 -0400 |
tree | 477a30dbf6cc8570e6ba632e23c60ded5c072d24 | |
parent | acd77415a9c0d6279f4effee2a5e59ededc7b2d2 [diff] |
badblocks: Factor out calls to strtoul to a helper function The strtoul() function has a lot of messy error checking that needs to be done; by factoring it out into one place we can make sure it's done right in all of the places where it is called. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>