- putchar('<', TOLOG, (struct tty *)0);
- printn((u_long)level, 10, TOLOG, (struct tty *)0);
- putchar('>', TOLOG, (struct tty *)0);
+ putchar('<', TOLOG, (struct tty *)NULL);
+ printn((u_long)level, 10, TOLOG, (struct tty *)NULL);
+ putchar('>', TOLOG, (struct tty *)NULL);
+}
+
+/*VARARGS1*/
+addlog(fmt, x1)
+ char *fmt;
+ unsigned x1;
+{
+ register s = splhigh();
+
+ prf(fmt, &x1, TOLOG, (struct tty *)NULL);
+ splx(s);
+ if (!log_open)
+ prf(fmt, &x1, TOCONS, (struct tty *)NULL);
+ logwakeup();