diff options
author | peter <peter@FreeBSD.org> | 2001-11-17 01:16:10 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2001-11-17 01:16:10 +0000 |
commit | 49371d5390a807eae6cf79c57b91584898a71e27 (patch) | |
tree | 1410f81dc75060d888ada43af4e22c146d36cb75 /sys/compat/linux/linux_getcwd.c | |
parent | fe3d7f1a83d416584c04c9f0600cb03de08e2e44 (diff) | |
download | FreeBSD-src-49371d5390a807eae6cf79c57b91584898a71e27.zip FreeBSD-src-49371d5390a807eae6cf79c57b91584898a71e27.tar.gz |
Fix warning in debug printf. This is a long on alpha, and int on i386,
but printed with %ld always.
Diffstat (limited to 'sys/compat/linux/linux_getcwd.c')
-rw-r--r-- | sys/compat/linux/linux_getcwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_getcwd.c b/sys/compat/linux/linux_getcwd.c index f08163b..509cdec 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(); |