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:
0313a1f
)
strdup -> xstrdup
author
Christos Zoulas
<christos@zoulas.com>
Thu, 6 Oct 2011 14:34:17 +0000
(10:34 -0400)
committer
Christos Zoulas
<christos@zoulas.com>
Thu, 6 Oct 2011 14:34:17 +0000
(10:34 -0400)
amd/ops_cachefs.c
patch
|
blob
|
history
diff --git
a/amd/ops_cachefs.c
b/amd/ops_cachefs.c
index 39b967b94c6cf346551916e137e27da17c6c61b0..fbaed1c6092c49441b797b71a700eb0c96a5b0fd 100644
(file)
--- a/
amd/ops_cachefs.c
+++ b/
amd/ops_cachefs.c
@@
-99,7
+99,7
@@
cachefs_match(am_opts *fo)
dlog("CACHEFS: using cache directory \"%s\"", fo->opt_cachedir);
/* determine magic cookie to put in mtab */
- return strdup(fo->opt_cachedir);
+ return
x
strdup(fo->opt_cachedir);
}
@@
-114,7
+114,7
@@
cachefs_init(mntfs *mf)
* Save cache directory name
*/
if (!mf->mf_private) {
- mf->mf_private = (voidp) strdup(mf->mf_fo->opt_cachedir);
+ mf->mf_private = (voidp)
x
strdup(mf->mf_fo->opt_cachedir);
mf->mf_prfree = (void (*)(voidp)) free;
}