Well, ok, I guess it's not the smallest code change -- I think I've matched this before -- but I guarantee you won't see one smaller than this!
It's a one-liner (a one-character-er) to accept 0 as a successful return from an ioctl() call, for registering dtrace providers.
http://cr.openjdk.java.net/~kamg/7145589/webrev.00/ -- - Keith