vlib: unix trivial- clean up typos in docs 85/23185/2
authorPaul Vinciguerra <pvinci@vinciconsulting.com>
Sun, 27 Oct 2019 18:00:53 +0000 (14:00 -0400)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Tue, 5 Nov 2019 10:31:00 +0000 (10:31 +0000)
seen while reading through the code.

Type: style

Change-Id: I7a2f021b9f06d0eebb2ea3d0cafb6955ccb14781
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
(cherry picked from commit d29422cbeeefb58d0213b295b35d04a673b380e7)

src/vlib/unix/main.c

index 3ec4c34..c478f60 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);