INN commit: trunk/storage/buffindexed (shmem.c)

INN Commit rra at isc.org
Sat Sep 21 09:49:34 UTC 2013


    Date: Saturday, September 21, 2013 @ 02:49:34
  Author: iulius
Revision: 9540

typos

Modified:
  trunk/storage/buffindexed/shmem.c

---------+
 shmem.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: shmem.c
===================================================================
--- shmem.c	2013-09-21 09:46:57 UTC (rev 9539)
+++ shmem.c	2013-09-21 09:49:34 UTC (rev 9540)
@@ -163,7 +163,7 @@
     if ((semap = smcGetSemaphore(name)) < 0) {
         warn("failed to get semaphore for key %s", name);
         if (shmdt(addr) < 0)
-            syswarn("cant detatch shared memory");
+            syswarn("cant detach shared memory");
         if (shmctl(shmid, IPC_RMID, 0) < 0)
             syswarn("cant remove shared memory");
         return NULL;
@@ -227,7 +227,7 @@
     if ((semap = smcCreateSemaphore(name)) < 0) {
         warn("failed to create semaphore for %s", name);
         if (shmdt(addr) < 0)
-            syswarn("cant detatch shared memory");
+            syswarn("cant detach shared memory");
         if (shmctl(shmid, IPC_RMID, 0) < 0)
             syswarn("cant remove shared memory");
         return NULL;



More information about the inn-committers mailing list