Fix warning in debug printf. This is a long on alpha, and int on i386,

but printed with %ld always.
This commit is contained in:
Peter Wemm 2001-11-17 01:16:10 +00:00
parent bc5f905080
commit 170a2c575c

View File

@ -413,7 +413,7 @@ linux_getcwd(struct thread *td, struct linux_getcwd_args *args)
#ifdef DEBUG
printf("Linux-emul(%ld): getcwd(%p, %ld)\n", (long)td->td_proc->p_pid,
args->buf, args->bufsize);
args->buf, (long)args->bufsize);
#endif
sg = stackgap_init();