OSSP CVS Repository

ossp - Difference in ossp-pkg/fsl/fsl.c versions 1.29 and 1.30
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/fsl/fsl.c 1.29 -> 1.30

--- fsl.c        2002/07/25 15:21:32     1.29
+++ fsl.c        2002/07/25 16:28:43     1.30
@@ -184,7 +184,7 @@
     NULL,
     NULL,
     NULL,
-    LOG_PRIMASK,
+    LOG_UPTO(LOG_DEBUG),
     0,
     FALSE
 };
@@ -615,9 +615,10 @@
         free(ctx.levelmap);
         ctx.levelmap = NULL;
     }
-    ctx.maskpri = LOG_PRIMASK;
+    ctx.maskpri = LOG_UPTO(LOG_DEBUG);
     ctx.logopt = 0;
     ctx.delayopen = FALSE;
+    return;
 }
 
 int setlogmask(int maskpri)
@@ -672,7 +673,7 @@
 
     /* strip off facility */
     priority &= LOG_PRIMASK;
-    fsldebug(L2_LEVEL_DEBUG, "prioriy  =0x%.8lx, ctx.maskpri=0x%.8lx  ", (unsigned long)priority, (unsigned long)ctx.maskpri);
+    fsldebug(L2_LEVEL_DEBUG, "priority =0x%.8lx, ctx.maskpri=0x%.8lx  ", (unsigned long)priority, (unsigned long)ctx.maskpri);
 
     /* check against maskpri */
     if ((LOG_MASK(priority) & ctx.maskpri) == 0) {

CVSTrac 2.0.1