aboutsummaryrefslogtreecommitdiff
path: root/stdlib/canonicalize.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/canonicalize.c')
-rw-r--r--stdlib/canonicalize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/canonicalize.c b/stdlib/canonicalize.c
index 0947c67dd2..8388316df3 100644
--- a/stdlib/canonicalize.c
+++ b/stdlib/canonicalize.c
@@ -206,7 +206,7 @@ __realpath (const char *name, char *resolved)
*dest = '\0';
assert (resolved == NULL || resolved == rpath);
- return resolved ?: rpath;
+ return rpath;
error:
assert (resolved == NULL || resolved == rpath);