summaryrefslogtreecommitdiff
path: root/lib/libmtd_legacy.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-10-01 01:45:06 -0400
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-10-01 09:33:32 +0300
commit3afb8f079dda8439c17f191ff593b7c4bf1c4b57 (patch)
tree98e366b65e826513c078feaa31e23921a03ebd7f /lib/libmtd_legacy.c
parentee3c2bef131ff1d6723b66d5cec3c8738954b407 (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 'lib/libmtd_legacy.c')
0 files changed, 0 insertions, 0 deletions