aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/readlink.c2
-rw-r--r--coreutils/realpath.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/readlink.c b/coreutils/readlink.c
index b8e327d11..49361cea0 100644
--- a/coreutils/readlink.c
+++ b/coreutils/readlink.c
@@ -86,7 +86,7 @@ int readlink_main(int argc UNUSED_PARAM, char **argv)
86 86
87 /* NOFORK: only one alloc is allowed; must free */ 87 /* NOFORK: only one alloc is allowed; must free */
88 if (opt & 1) { /* -f */ 88 if (opt & 1) { /* -f */
89 buf = xmalloc_realpath(fname); 89 buf = xmalloc_realpath_coreutils(fname);
90 } else { 90 } else {
91 buf = xmalloc_readlink_or_warn(fname); 91 buf = xmalloc_readlink_or_warn(fname);
92 } 92 }
diff --git a/coreutils/realpath.c b/coreutils/realpath.c
index aa878fcd2..43923681c 100644
--- a/coreutils/realpath.c
+++ b/coreutils/realpath.c
@@ -38,7 +38,7 @@ int realpath_main(int argc UNUSED_PARAM, char **argv)
38 38
39 do { 39 do {
40 /* NOFORK: only one alloc is allowed; must free */ 40 /* NOFORK: only one alloc is allowed; must free */
41 char *resolved_path = xmalloc_realpath(*argv); 41 char *resolved_path = xmalloc_realpath_coreutils(*argv);
42 if (resolved_path != NULL) { 42 if (resolved_path != NULL) {
43 puts(resolved_path); 43 puts(resolved_path);
44 free(resolved_path); 44 free(resolved_path);