HomeFreeBSD

Fix the MDIOCDETACH ioctl() for md(4). Now that the md_file field in
rS137640Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Fix the MDIOCDETACH ioctl() for md(4). Now that the md_file field in
the mdio structure is an array and not a pointer, we cannot test for
it to be NULL. It never is. Instead, test for md_file[0] to be '\0'.

Details

Provenance
marcelAuthored on
Parents
rS137639: UNIX conformance: If -r -f on non-existent directory, don't emit error.
Branches
Unknown
Tags
Unknown

Event Timeline