diff options
author | Bruce Momjian <bruce@momjian.us> | 2004-05-13 01:47:12 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2004-05-13 01:47:12 +0000 |
commit | c2e8386440a738c32a0e800aeaca8de69c28d9d8 (patch) | |
tree | 5e188bc6751bf5da3d030c25838072bd7b861b66 /src | |
parent | 550fbc6a985d77f80b52e26f219ea9c3ad334ba5 (diff) | |
download | postgresql-c2e8386440a738c32a0e800aeaca8de69c28d9d8.tar.gz postgresql-c2e8386440a738c32a0e800aeaca8de69c28d9d8.zip |
Fix Win32 bug with missing errno for strerror().
Diffstat (limited to 'src')
-rw-r--r-- | src/port/exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/port/exec.c b/src/port/exec.c index 2ea6531c8eb..d7a95f495df 100644 --- a/src/port/exec.c +++ b/src/port/exec.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/port/exec.c,v 1.2 2004/05/12 13:38:49 momjian Exp $ + * $PostgreSQL: pgsql/src/port/exec.c,v 1.3 2004/05/13 01:47:12 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -329,7 +329,7 @@ win32_make_absolute(char *path) if (_fullpath(abspath, path, MAXPGPATH) == NULL) { - log_debug("Win32 path expansion failed: %s", strerror()); + log_debug("Win32 path expansion failed: %s", strerror(errno)); return path; } canonicalize_path(abspath); |