Index: ossp-pkg/fsl/fsl.c RCS File: /v/ossp/cvs/ossp-pkg/fsl/fsl.c,v rcsdiff -q -kk '-r1.29' '-r1.30' -u '/v/ossp/cvs/ossp-pkg/fsl/fsl.c,v' 2>/dev/null --- 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) {