summaryrefslogtreecommitdiffstats
path: root/sys/nfs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-11-26 20:35:21 +0000
committerphk <phk@FreeBSD.org>2000-11-26 20:35:21 +0000
commit7101ba5caa38060b2d927dc5bd81c320b7055e6b (patch)
tree4294695f33143e401d4c51b3ef61ebb718ab91c4 /sys/nfs
parent7c4763bbdd4cb046f92027fbbfb033f3e9987580 (diff)
downloadFreeBSD-src-7101ba5caa38060b2d927dc5bd81c320b7055e6b.zip
FreeBSD-src-7101ba5caa38060b2d927dc5bd81c320b7055e6b.tar.gz
Simplify the tprintf() API.
Loose the special <sys/tprintf.h> #include file.
Diffstat (limited to 'sys/nfs')
-rw-r--r--sys/nfs/nfs_socket.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/nfs/nfs_socket.c b/sys/nfs/nfs_socket.c
index 7d8bec4..f1ace4e 100644
--- a/sys/nfs/nfs_socket.c
+++ b/sys/nfs/nfs_socket.c
@@ -53,7 +53,6 @@
#include <sys/socket.h>
#include <sys/socketvar.h>
#include <sys/syslog.h>
-#include <sys/tprintf.h>
#include <sys/sysctl.h>
#include <sys/signalvar.h>
@@ -1969,14 +1968,8 @@ nfs_msg(p, server, msg)
struct proc *p;
char *server, *msg;
{
- tpr_t tpr;
- if (p)
- tpr = tprintf_open(p);
- else
- tpr = NULL;
- tprintf(tpr, "nfs server %s: %s\n", server, msg);
- tprintf_close(tpr);
+ tprintf(p, LOG_INFO, "nfs server %s: %s\n", server, msg);
return (0);
}
OpenPOWER on IntegriCloud