diff options
author | pjd <pjd@FreeBSD.org> | 2008-11-18 00:03:38 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2008-11-18 00:03:38 +0000 |
commit | eb404aafac60161295f48d1e2a9dbc228cd8922c (patch) | |
tree | d4c6e3d9e58743d39379f8dbe33bd503f66f77e0 /cddl/contrib/opensolaris/lib/libzfs/common/libzfs_util.c | |
parent | a439cdd8d408dfb0b2c406486aa8c13b9ef61770 (diff) | |
download | FreeBSD-src-eb404aafac60161295f48d1e2a9dbc228cd8922c.zip FreeBSD-src-eb404aafac60161295f48d1e2a9dbc228cd8922c.tar.gz |
Fix a warning on amd64 caused by using int for request argument instead of
unsigned long:
WARNING pid 12888 (zfs/zpool): ioctl sign-extension ioctl ffffffffcc285aXX
Reported by: kris
Diffstat (limited to 'cddl/contrib/opensolaris/lib/libzfs/common/libzfs_util.c')
-rw-r--r-- | cddl/contrib/opensolaris/lib/libzfs/common/libzfs_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_util.c b/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_util.c index 9d60d60..859630a 100644 --- a/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_util.c +++ b/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_util.c @@ -758,7 +758,7 @@ zcmd_read_dst_nvlist(libzfs_handle_t *hdl, zfs_cmd_t *zc, nvlist_t **nvlp) } int -zfs_ioctl(libzfs_handle_t *hdl, int request, zfs_cmd_t *zc) +zfs_ioctl(libzfs_handle_t *hdl, unsigned long request, zfs_cmd_t *zc) { int error; |