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:
9db56bd
)
Do not print directory name on size check failure.
author
relan
<relan@users.noreply.github.com>
Sat, 8 Dec 2012 11:53:58 +0000
(11:53 +0000)
committer
relan
<relan@users.noreply.github.com>
Mon, 24 Aug 2015 05:26:15 +0000
(08:26 +0300)
Name is not yet available at that moment.
libexfat/node.c
patch
|
blob
|
history
diff --git
a/libexfat/node.c
b/libexfat/node.c
index
825bf24
..
8f27713
100644
(file)
--- a/
libexfat/node.c
+++ b/
libexfat/node.c
@@
-270,11
+270,8
@@
static int readdir(struct exfat* ef, const struct exfat_node* parent,
if (((*node)->flags & EXFAT_ATTRIB_DIR) &&
(*node)->size % CLUSTER_SIZE(*ef->sb) != 0)
{
- char buffer[EXFAT_NAME_MAX + 1];
-
- exfat_get_name(*node, buffer, EXFAT_NAME_MAX);
- exfat_error("directory `%s' has invalid size %"PRIu64" bytes",
- buffer, (*node)->size);
+ exfat_error("directory has invalid size %"PRIu64" bytes",
+ (*node)->size);
goto error;
}
--continuations;