Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 391 → Rev 390

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