Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 390 → Rev 391

/shark/trunk/kernel/printk.c
36,11 → 36,11
*/
 
/*
* CVS : $Id: printk.c,v 1.4 2004-01-08 21:15:35 giacomo Exp $
* CVS : $Id: printk.c,v 1.5 2004-01-10 13:24:36 giacomo Exp $
*
* File: $File$
* Revision: $Revision: 1.4 $
* Last update: $Date: 2004-01-08 21:15:35 $
* Revision: $Revision: 1.5 $
* Last update: $Date: 2004-01-10 13:24:36 $
*/
 
#include <ll/i386/cons.h>
70,7 → 70,6
static char buf[2048]; /* DANGER !!!!! */
SYS_FLAGS f;
int level;
int result;
level = NO_LEVEL;
if (*fmt == '<' && *(fmt+2) == '>')
82,8 → 81,7
if (level<=printklevel) return 0;
result = vsprintf(buf,(char*)fmt,ap);
buf[result] = 0;
vsprintf(buf,(char*)fmt,ap);
 
f=kern_fsave();
if (level != NO_LEVEL)
/shark/trunk/oslib/libc/ioformat/sprintf.c
214,8 → 214,7
parsing = 1;
}
break;
case '#' : if (parsing != 1) parsing = 0;
break;
case '#' : break;
default : parsing = 0;
break;
}