summaryrefslogtreecommitdiff
path: root/sys/compat/linux
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2006-11-18 13:31:03 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2006-11-18 13:31:03 +0000
commit0c00520b9349734989712fd4332e75b8283deb80 (patch)
tree687e95635dafb258913557d5eb204cb9a15bff6c /sys/compat/linux
parentd559d18183b3cfbce5744c4b37ffcd5f652dcbd4 (diff)
Notes
Diffstat (limited to 'sys/compat/linux')
-rw-r--r--sys/compat/linux/linux_getcwd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_getcwd.c b/sys/compat/linux/linux_getcwd.c
index 70631ed48358..498bf3bd7cb2 100644
--- a/sys/compat/linux/linux_getcwd.c
+++ b/sys/compat/linux/linux_getcwd.c
@@ -425,8 +425,8 @@ linux_getcwd(struct thread *td, struct linux_getcwd_args *args)
int error, len, lenused;
#ifdef DEBUG
- printf("Linux-emul(%ld): getcwd(%p, %ld)\n", (long)td->td_proc->p_pid,
- args->buf, (long)args->bufsize);
+ if (ldebug(getcwd))
+ printf(ARGS(getcwd, "%p, %ld", args->buf, (long)args->bufsize);
#endif
len = args->bufsize;