25 lines
943 B
Plaintext
25 lines
943 B
Plaintext
$OpenBSD: patch-src_sighandler_c,v 1.3 2012/09/21 17:16:14 dcoppa Exp $
|
|
|
|
From 710478055881928c70f8c6c1411076eb06a92936 Mon Sep 17 00:00:00 2001
|
|
From: Michael Stapelberg <michael@stapelberg.de>
|
|
Date: Thu, 20 Sep 2012 08:55:03 +0000
|
|
Subject: spelling fix: s/succesfully/successfully/
|
|
|
|
--- src/sighandler.c.orig Fri Sep 21 13:40:19 2012
|
|
+++ src/sighandler.c Fri Sep 21 13:41:27 2012
|
|
@@ -112,12 +112,12 @@ static int backtrace(void) {
|
|
|
|
waitpid(pid_gdb, &status, 0);
|
|
|
|
- /* see if the backtrace was succesful or not */
|
|
+ /* see if the backtrace was successful or not */
|
|
if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) {
|
|
DLOG("GDB did not run properly\n");
|
|
return -1;
|
|
} else if (stat(filename, &bt) == -1) {
|
|
- DLOG("GDB executed succesfully, but no backtrace was generated\n");
|
|
+ DLOG("GDB executed successfully, but no backtrace was generated\n");
|
|
return -1;
|
|
}
|
|
return 1;
|