Sfoglia il codice sorgente

LibC: Let the string for SIGFPE be "Division by zero".

That's really what we send this signal for, so let's call it that.
Andreas Kling 6 anni fa
parent
commit
7c37ffd9d8
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      LibC/signal.cpp

+ 1 - 1
LibC/signal.cpp

@@ -109,7 +109,7 @@ const char* sys_siglist[NSIG] = {
     "Trap",
     "Trap",
     "Aborted",
     "Aborted",
     "Bus error",
     "Bus error",
-    "FP exception",
+    "Division by zero",
     "Killed",
     "Killed",
     "User signal 1",
     "User signal 1",
     "Segmentation violation",
     "Segmentation violation",