aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2019-10-27 14:00:53 -0400
committerOle Trøan <otroan@employees.org>2019-10-28 09:15:37 +0000
commitd29422cbeeefb58d0213b295b35d04a673b380e7 (patch)
tree3bd54ca529dae69996e97caa35a80d464c3e5c7c
parentea5cd12d26047c36be5969c2c88147d26f788103 (diff)
vlib: unix trivial- clean up typos in docs
seen while reading through the code. Type: style Change-Id: I7a2f021b9f06d0eebb2ea3d0cafb6955ccb14781 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
-rwxr-xr-xsrc/vlib/unix/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vlib/unix/main.c b/src/vlib/unix/main.c
index 42c3064bc32..f306b2ef93f 100755
--- a/src/vlib/unix/main.c
+++ b/src/vlib/unix/main.c
@@ -91,7 +91,7 @@ unsetup_signal_handlers (int sig)
/* allocate this buffer from mheap when setting up the signal handler.
dangerous to vec_resize it when crashing, mheap itself might have been
- corruptted already */
+ corrupted already */
static u8 *syslog_msg = 0;
static int last_signum = 0;
static uword last_faulting_address = 0;
@@ -177,7 +177,7 @@ unix_signal_handler (int signum, siginfo_t * si, ucontext_t * uc)
syslog (LOG_ERR | LOG_DAEMON, "%s", syslog_msg);
}
- /* have to remove SIGABRT to avoid recusive - os_exit calling abort() */
+ /* have to remove SIGABRT to avoid recursive - os_exit calling abort() */
unsetup_signal_handlers (SIGABRT);
os_exit (1);