Commit 6b43fdde authored by Bruce Momjian's avatar Bruce Momjian

In pg_upgrade, use pg_strudup(), for consistency.

parent 463f2625
......@@ -230,7 +230,7 @@ getErrorText(int errNum)
#ifdef WIN32
_dosmaperr(GetLastError());
#endif
return strdup(strerror(errNum));
return pg_strdup(strerror(errNum));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment