vlib: unix trivial- clean up typos in docs 13/23013/2
authorPaul Vinciguerra <pvinci@vinciconsulting.com>
Sun, 27 Oct 2019 18:00:53 +0000 (14:00 -0400)
committerOle Trøan <otroan@employees.org>
Mon, 28 Oct 2019 09:15:37 +0000 (09:15 +0000)
seen while reading through the code.

Type: style

Change-Id: I7a2f021b9f06d0eebb2ea3d0cafb6955ccb14781
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
src/vlib/unix/main.c

index 42c3064..f306b2e 100755 (executable)
@@ -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);