diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2001-11-17 01:20:02 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2001-11-17 01:20:02 +0000 |
| commit | 1cf2b6650052c0943b9d5943330ea88ccecc3c14 (patch) | |
| tree | 14dfb158c6a6b564c5c25e892c7fd2044464721b /sys/compat/linux/linux_ioctl.c | |
| parent | 170a2c575cf912bbf8a3a982637f4526d52c5ffb (diff) | |
Notes
Diffstat (limited to 'sys/compat/linux/linux_ioctl.c')
| -rw-r--r-- | sys/compat/linux/linux_ioctl.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c index 54da5857baf1..4e07abb617ba 100644 --- a/sys/compat/linux/linux_ioctl.c +++ b/sys/compat/linux/linux_ioctl.c @@ -1372,7 +1372,7 @@ linux_ifname(struct ifnet *ifp, char *name, size_t size) * bsdname and lxname need to be least IFNAMSIZ bytes long, but * can point to the same buffer. */ - +#if 0 static struct ifnet * ifname_bsd_to_linux(const char *bsdname, char *lxname) { @@ -1398,6 +1398,7 @@ ifname_bsd_to_linux(const char *bsdname, char *lxname) return (ifp); } +#endif /* * Translate a Linux interface name to a FreeBSD interface name, @@ -1768,7 +1769,8 @@ linux_ioctl(struct thread *td, struct linux_ioctl_args *args) #ifdef DEBUG if (ldebug(ioctl)) - printf(ARGS(ioctl, "%d, %04lx, *"), args->fd, args->cmd); + printf(ARGS(ioctl, "%d, %04lx, *"), args->fd, + (unsigned long)args->cmd); #endif fdp = td->td_proc->p_fd; |
