OSDN Git Service
(root)
/
android-x86
/
external-exfat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49d300e
)
More concrete error message on memory allocation failure.
author
relan
<relan@users.noreply.github.com>
Sun, 27 Nov 2011 09:43:53 +0000
(09:43 +0000)
committer
relan
<relan@users.noreply.github.com>
Mon, 24 Aug 2015 05:26:13 +0000
(08:26 +0300)
libexfat/mount.c
patch
|
blob
|
history
diff --git
a/libexfat/mount.c
b/libexfat/mount.c
index
c4dfb2c
..
254a3e6
100644
(file)
--- a/
libexfat/mount.c
+++ b/
libexfat/mount.c
@@
-133,7
+133,7
@@
int exfat_mount(struct exfat* ef, const char* spec, const char* options)
if (ef->sb == NULL)
{
close(ef->fd);
- exfat_error("
memory allocation failed
");
+ exfat_error("
failed to allocate memory for the super block
");
return -ENOMEM;
}
memset(ef->sb, 0, sizeof(struct exfat_super_block));