From 170a2c575cf912bbf8a3a982637f4526d52c5ffb Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Sat, 17 Nov 2001 01:16:10 +0000 Subject: [PATCH] Fix warning in debug printf. This is a long on alpha, and int on i386, but printed with %ld always. --- sys/compat/linux/linux_getcwd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/compat/linux/linux_getcwd.c b/sys/compat/linux/linux_getcwd.c index f08163b0e31..509cdecc123 100644 --- a/sys/compat/linux/linux_getcwd.c +++ b/sys/compat/linux/linux_getcwd.c @@ -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();