summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_prf.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-07-22 10:36:36 +0000
committerphk <phk@FreeBSD.org>2003-07-22 10:36:36 +0000
commiteb30c92e4910efd8f5aa99168e8b74d8414f3eb1 (patch)
treee266522d9bf5035f4900c37de6fdf64d1327035d /sys/kern/subr_prf.c
parentc4a9334fa698660a5dd1a0c4fddb61ed0893fc58 (diff)
downloadFreeBSD-src-eb30c92e4910efd8f5aa99168e8b74d8414f3eb1.zip
FreeBSD-src-eb30c92e4910efd8f5aa99168e8b74d8414f3eb1.tar.gz
Revert stuff which accidentally ended up in the previous commit.
Diffstat (limited to 'sys/kern/subr_prf.c')
-rw-r--r--sys/kern/subr_prf.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c
index fa86217..d851e60 100644
--- a/sys/kern/subr_prf.c
+++ b/sys/kern/subr_prf.c
@@ -237,25 +237,6 @@ log(int level, const char *fmt, ...)
msgbuftrigger = 1;
}
-int
-vlog(const char *fmt, va_list ap)
-{
- int savintr;
- struct putchar_arg pca;
- int retval;
-
- savintr = consintr; /* disable interrupts */
- consintr = 0;
- pca.tty = NULL;
- pca.flags = log_open ? TOLOG : TOCONS;
- pca.pri = -1;
- retval = kvprintf(fmt, putchar, &pca, 10, ap);
- if (!panicstr)
- msgbuftrigger = 1;
- consintr = savintr; /* reenable interrupts */
- return (retval);
-}
-
#define CONSCHUNK 128
void
@@ -342,7 +323,6 @@ vprintf(const char *fmt, va_list ap)
return (retval);
}
-
/*
* Print a character on console or users terminal. If destination is
* the console then the last bunch of characters are saved in msgbuf for
OpenPOWER on IntegriCloud