diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1998-07-29 16:43:00 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1998-07-29 16:43:00 +0000 |
| commit | e4e6ae1366ea79ed3c9b47580fac53bf8cf78651 (patch) | |
| tree | 8cfcca3856bd98a68ff127631c2a7834aa06714d /sys/i386/linux/linux_file.c | |
| parent | e33e271f08dacb24a2764dd95be2a3471f3c5fe3 (diff) | |
Notes
Diffstat (limited to 'sys/i386/linux/linux_file.c')
| -rw-r--r-- | sys/i386/linux/linux_file.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/i386/linux/linux_file.c b/sys/i386/linux/linux_file.c index 32d7cbeba0b6..c05c16b97bf4 100644 --- a/sys/i386/linux/linux_file.c +++ b/sys/i386/linux/linux_file.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: linux_file.c,v 1.19 1998/01/05 01:17:42 jmb Exp $ + * $Id: linux_file.c,v 1.20 1998/03/29 07:59:09 peter Exp $ */ #include "opt_compat.h" @@ -339,8 +339,8 @@ linux_lseek(struct proc *p, struct linux_lseek_args *args) int error; #ifdef DEBUG - printf("Linux-emul(%d): lseek(%d, %d, %d)\n", - p->p_pid, args->fdes, args->off, args->whence); + printf("Linux-emul(%ld): lseek(%d, %ld, %d)\n", + (long)p->p_pid, args->fdes, args->off, args->whence); #endif tmp_args.fd = args->fdes; tmp_args.offset = (off_t)args->off; @@ -796,8 +796,8 @@ linux_readlink(struct proc *p, struct linux_readlink_args *args) CHECKALTEXIST(p, &sg, args->name); #ifdef DEBUG - printf("Linux-emul(%d): readlink(%s, 0x%x, %d)\n", - p->p_pid, args->name, args->buf, args->count); + printf("Linux-emul(%ld): readlink(%s, %p, %d)\n", + (long)p->p_pid, args->name, (void *)args->buf, args->count); #endif bsd.path = args->name; bsd.buf = args->buf; |
