aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib/unix
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2019-10-27 14:00:53 -0400
committerAndrew Yourtchenko <ayourtch@gmail.com>2019-11-05 10:31:00 +0000
commit5cd73e6d927d45d6129b04ad07b8e6623da83e47 (patch)
tree2e57531b8a72f9a7d27ec26a9be16139696c7ef3 /src/vlib/unix
parent9e20470cb3fa66a3b1fbdb24c6316aee596a02ae (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> (cherry picked from commit d29422cbeeefb58d0213b295b35d04a673b380e7)
Diffstat (limited to 'src/vlib/unix')
-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 3ec4c342cf1..c478f60f995 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);