Fixed failing ioctl tests.
Fixed failing ioctl tests.

kamalmarhubi/nix-rust,berkowski/nix,berkowski/nix,xd009642/nix,carllerche/nix-rust,kamalmarhubi/nix-rust,Susurrus/nix,carllerche/nix-rust,geofft/nix-rust,asomers/nix,geofft/nix-rust,geofft/nix-rust,nix-rust/nix,xd009642/nix,Susurrus/nix,berkowski/nix,kamalmarhubi/nix-rust,Susurrus/nix,MarkusJais/nix-rust,xd009642/nix,carllerche/nix-rust,nix-rust/nix,MarkusJais/nix-rust,asomers/nix,MarkusJais/nix-rust