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:
6c41224
)
strdup -> xstrdup
author
Christos Zoulas
<christos@zoulas.com>
Thu, 6 Oct 2011 14:31:04 +0000
(10:31 -0400)
committer
Christos Zoulas
<christos@zoulas.com>
Thu, 6 Oct 2011 14:31:04 +0000
(10:31 -0400)
amd/info_file.c
patch
|
blob
|
history
diff --git
a/amd/info_file.c
b/amd/info_file.c
index 47269a4603793c27c1f15645cd6392657954602e..dd147c9b64ae23fbb16025fd43f9e06e68810c8a 100644
(file)
--- a/
amd/info_file.c
+++ b/
amd/info_file.c
@@
-164,9
+164,9
@@
file_search_or_reload(mnt_map *m,
if (m->cfm && (m->cfm->cfm_flags & CFM_SUN_MAP_SYNTAX))
dc = sun_entry2amd(kp, cp);
else
- dc = strdup(cp);
+ dc =
x
strdup(cp);
if (fn) {
- (*fn) (m, strdup(kp), dc);
+ (*fn) (m,
x
strdup(kp), dc);
} else {
*val = dc;
dlog("%s returns %s", key, dc);