projects
/
am-utils-6.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61ba94c
)
don't set variable we don't use.
author
Christos Zoulas
<christos@zoulas.com>
Thu, 6 Oct 2011 14:28:21 +0000
(10:28 -0400)
committer
Christos Zoulas
<christos@zoulas.com>
Thu, 6 Oct 2011 14:28:21 +0000
(10:28 -0400)
amd/amfs_union.c
patch
|
blob
|
history
diff --git
a/amd/amfs_union.c
b/amd/amfs_union.c
index 0d77c8544ef2887840c531d429ce2677eef7d54d..e9dcfce329702e6170a0fcb3e25a2c14bdc35293 100644
(file)
--- a/
amd/amfs_union.c
+++ b/
amd/amfs_union.c
@@
-95,7
+95,7
@@
create_amfs_union_node(char *dir, opaque_t arg)
am_node *am;
am = amfs_generic_lookup_child(arg, dir, &error, VLOOK_CREATE);
if (am && error < 0)
-
am =
amfs_generic_mount_child(am, &error);
+
(void)
amfs_generic_mount_child(am, &error);
if (error > 0) {
errno = error; /* XXX */
plog(XLOG_ERROR, "unionfs: could not mount %s: %m", dir);