diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-10-01 01:45:06 -0400 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2010-10-01 09:33:32 +0300 |
commit | 3afb8f079dda8439c17f191ff593b7c4bf1c4b57 (patch) | |
tree | 98e366b65e826513c078feaa31e23921a03ebd7f /tests/ubi-tests/common.h | |
parent | ee3c2bef131ff1d6723b66d5cec3c8738954b407 (diff) |
mtd-utils: xalloc: simplify/unify error messages
I'm not sure that if we actually are out of memory that declaring the
failing allocation size is useful in the output. So use the same
simple string in every error message to cut down on size (there will
only be one copy of this at runtime). Size is a much more common
concern than handling OOM issues which most likely aren't the fault
of mtd-utils in the first place.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'tests/ubi-tests/common.h')
0 files changed, 0 insertions, 0 deletions