show errno not result

open_levelfile_exclusively() was showing the return value -1 in a panic message, even though that was the only possible value; show errno instead
This commit is contained in:
nethack.allison
2003-09-13 17:11:20 +00:00
parent cc830fb311
commit bd170f5869
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -21,6 +21,8 @@ do not pacify shopkeeper when the hero enters a shop if that hero previously
angered the shopkeeper without ever visibly entering the shop
attempting to place migrating monsters onto a monster-saturated level no
longer triggers impossible()
open_levelfile_exclusively() was showing the return value -1 in a panic message,
even though that was the only possible value; show errno instead
Platform- and/or Interface-Specific Fixes