summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2001-11-08 10:34:21 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2001-11-08 10:34:21 +0000
commit9529c2d96587b2e48aac1ec34e82a0ee58850cdc (patch)
treea8e546ae584d6dceb846b4c8ea9f16a21029fbdc
parent955e10567c218e49cdea207a2a7e0f8f4f3c8312 (diff)
Notes
-rw-r--r--usr.sbin/rpc.lockd/kern.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/rpc.lockd/kern.c b/usr.sbin/rpc.lockd/kern.c
index e6fc860dcc75..46cd378d509a 100644
--- a/usr.sbin/rpc.lockd/kern.c
+++ b/usr.sbin/rpc.lockd/kern.c
@@ -556,7 +556,7 @@ show(LOCKD_MSG *mp)
size_t len;
u_int8_t *p, *t, buf[NFS_SMALLFH*3+1];
- printf("process ID: %lu\n", (long)mp->lm_msg_ident.pid);
+ syslog(LOG_DEBUG, "process ID: %lu\n", (long)mp->lm_msg_ident.pid);
fsidp = (fsid_t *)&mp->lm_fh;
fidp = (struct fid *)((u_int8_t *)&mp->lm_fh + sizeof(fsid_t));
@@ -570,13 +570,13 @@ show(LOCKD_MSG *mp)
}
*t = '\0';
- printf("fh_len %d, fh %s\n", mp->lm_fh_len, buf);
+ syslog(LOG_DEBUG, "fh_len %d, fh %s\n", mp->lm_fh_len, buf);
/* Show flock structure. */
- printf("start %qu; len %qu; pid %lu; type %d; whence %d\n",
+ syslog(LOG_DEBUG, "start %qu; len %qu; pid %lu; type %d; whence %d\n",
mp->lm_fl.l_start, mp->lm_fl.l_len, (u_long)mp->lm_fl.l_pid,
mp->lm_fl.l_type, mp->lm_fl.l_whence);
/* Show wait flag. */
- printf("wait was %s\n", mp->lm_wait ? "set" : "not set");
+ syslog(LOG_DEBUG, "wait was %s\n", mp->lm_wait ? "set" : "not set");
}