Use standard debugging facilities in linux_getcwd().

Submitted by:	rdivacky
This commit is contained in:
Konstantin Belousov 2006-11-18 13:31:03 +00:00
parent d559d18183
commit 0c00520b93

View File

@ -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;