aboutsummaryrefslogtreecommitdiff
path: root/src/map.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.cc')
-rw-r--r--src/map.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.cc b/src/map.cc
index 86b0c83..b39d25a 100644
--- a/src/map.cc
+++ b/src/map.cc
@@ -1713,7 +1713,7 @@ void PatchSector(int SectorX, int SectorY, int SectorZ, bool FullSector,
if(rename(FileNameBak, FileName) != 0){
int ErrCode = errno;
error("PatchSector: Fehler %d beim Umbenennen von %s.\n", ErrCode, FileNameBak);
- error("# Fehler %d: %s.\n", ErrCode, strerror(ErrCode));
+ error("# Fehler %d: %s.\n", ErrCode, GetErrorDescription(ErrCode));
throw "cannot patch ORIGMAP";
}
}