aboutsummaryrefslogtreecommitdiff
path: root/src/port/path.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/port/path.c')
-rw-r--r--src/port/path.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/port/path.c b/src/port/path.c
index 565871c6376..330b3f90332 100644
--- a/src/port/path.c
+++ b/src/port/path.c
@@ -772,8 +772,7 @@ make_absolute_path(const char *path)
#ifndef FRONTEND
elog(ERROR, "could not get current working directory: %m");
#else
- fprintf(stderr, _("could not get current working directory: %s\n"),
- strerror(errno));
+ fprintf(stderr, _("could not get current working directory: %m\n"));
return NULL;
#endif
}