]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
e2fsck: show size requested when memory allocation fails
authorEric Sandeen <sandeen@redhat.com>
Mon, 7 Jan 2013 21:45:54 +0000 (15:45 -0600)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 8 Jan 2013 15:41:08 +0000 (10:41 -0500)
commitbf50beb9f6b4c4d4c9f8fc7fc81d716a9ee79218
tree6d6cdb471cc185e88027e901f0f2c6411173924d
parentf45011df2bea466209a4b2701f2770b24518bbac
e2fsck: show size requested when memory allocation fails

"e2fsck: Can't allocate dx_block info array"
is only so helpful - it'd be nice to know how much it tried to allocate.

In particular, since I think malloc(0) can return NULL,
it'd be nice to know if maybe we passed in an uninitialized (or
0-initialized) size.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
e2fsck/util.c